Select multiple tracks from a VOD file with a Wowza Streaming Engine Java module

The ModuleMultiTrackVOD module for Wowza Streaming Engine™ media server software lets you select which video, audio, or data tracks are sent to media players when streaming a video-on-demand (VOD) file that has multiple tracks of any type.

Contents


Prerequisites
Installation
Configuration
Usage
For developers

Prerequisites


Wowza Streaming Engine 4.0.0 or later is required.

Installation


  1. Download wse-plugin-multitrackvod.zip.
     
  2. Extract the contents from the downloaded (zipped) package, and then copy the lib/wse-plugin-multitrackvod.jar file from the package to the lib folder in your Wowza Streaming Engine installation ([install-dir]/lib).
     
  3. Restart Wowza Streaming Engine.

Configuration


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

Name
Description
Fully Qualified Class Name
ModuleMultiTrackVOD Specifies which tracks to use in a VOD rendition. com.wowza.wms.plugin.ModuleMultiTrackVOD

Usage


To select audio, video, and data tracks, add the following query parameters to the stream URLs as required:

audioindex=<index>
videoindex=<index>
dataindex=<index>

The default value of index is 0 which uses the first track of each type. To use the second track of a track type, set that type's index to 1. To use the third track, set index to 2, and so on. Using index parameters is only required if you want to use a track other than the first track of that type (and therefore defining an index of 1 or higher).

For developers


  • Get the source code on GitHub