Media streaming output modes
This page explains the media streaming output modes.
When calling start
to enable single-stream recording, set the output mode of the media stream in the recordingConfig.streamMode
field of the clientRequest
. The supported values and their description is as follows:
streamMode | Description | Generate index file | Generate slice files | Video encoding | Audio encoding | Supported features |
---|---|---|---|---|---|---|
default | Default mode | Each UID generates an M3U8 audio index file and an M3U8 video index file. | Each UID generates multiple TS audio slice files and multiple TS video slice files. If VP8 encoding is used on the Web side, multiple TS audio slice files and multiple video slice files in WebM format are generated. | No transcoding | Transcode | Single stream recording, video screenshots, and delayed transcoding. |
standard | Standard mode | Each UID generates an M3U8 audio index file, an M3U8 video index file and a merged M3U8 audio and video index file. If VP8 encoding is used on the Web side, a merged MPD audio and video index file are generated. | Each UID generates multiple TS audio slice files and multiple TS video slice files. If VP8 encoding is used on the Web side, multiple audio files in WebM format and multiple video files in WebM format are generated. | No transcoding | Transcode | Single stream recording, video screenshots. |
original | Original mode. This field only takes effect when subscribing to audio (streamTypes is 0 ). | An M3U8 audio index file is generated for each UID. | Multiple TS audio slice files are generated for each UID. | none | No transcoding | Single-stream audio recording without transcoding and delayed mixing. |