• How to select audio, data, and/or video channel from a multi-channel MP4 file by using IMediaReaderActionNotify (ModuleMP4AudioChannelSelector)

    Note: This article is for an older Wowza® product or technology that either has been updated or is no longer supported. This module has been deprecated in favor of the ModuleMultiTrackVOD module, which provides extra functionality. You should use that module instead. For details, see How to select multiple tracks from a VOD file (ModuleMultiTrackVOD).
    The following module uses the IMediaReaderActionNotify listener interface to select audio channels from a multi-channel MP4 file. This module looks for the query parameter audioindex as part of the stream name to select audio channels from the MP4 file.

    For example, to play the first audio track, use the following stream name:
    Code:
    Server: rtmp://[wowza-ip-address]/vod
    Stream: mp4:sample.mp4?audioindex=0
    To play the second audio track, use the following stream name:
    Code:
    Server: rtmp://[wowza-ip-address]/vod
    Stream: mp4:sample.mp4?audioindex=1
    To play the second audio track with a HTTP streaming URL, use the following code:
    Code:
    http://[wowza-ip-address]:1935/vod/mp4:sample.mp4/playlist.m3u8?audioindex=1

    To play the second audio track with an RTSP streaming URL, use the following code:
    Code:
    rtsp://[wowza-ip-address]:1935/vod/mp4:sample.mp4?audioindex=1
    A compiled version of this module is included in the Wowza Module Collection.

    Configuration



    To enable this module, add the following module definition to your application. See Configure modules for details.

    Name
    Description
    Fully Qualified Class Name
    ModuleMP4AudioChannelSelector Selects audio channels from an MP4. com.wowza.wms.plugin.collection.module.ModuleMP4AudioChannelSelector

    Wowza media server software and all components, including modules, source code, and other related items offered on this page, are copyrighted 20062014 by Wowza Media Systems, LLC, all rights reserved, and are licensed pursuant to the Wowza Media Software End User License Agreement.