Skip to main content

You are viewing Agora Docs forBetaproducts and features. Switch to Docs

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:

streamModeDescriptionGenerate index fileGenerate slice filesVideo encodingAudio encodingSupported features
defaultDefault modeEach 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 transcodingTranscodeSingle stream recording, video screenshots, and delayed transcoding.
standardStandard modeEach 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 transcodingTranscodeSingle stream recording, video screenshots.
originalOriginal 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.noneNo transcodingSingle-stream audio recording without transcoding and delayed mixing.
vundefined