This topic describes how you can call the StartMPUTask operation to enable relayed live streaming in audio-only mode.
Parameter settings
The parameter settings for enabling relayed live streaming in audio-only mode are similar to those in audio-and-video mode. The differences lie in the settings of the LayoutIds, MediaEncode, and TaskProfile parameters. The three parameters respectively specify the layout, encoding format, and task profile.
Take note of the following rules when you enable relayed live streaming in audio-only mode:
- LayoutIds: The parameter value is determined by the TaskProfile parameter. If the TaskProfile parameter is set to Mixed_Audio, the number of audio sources allowed is not limited.
- MediaEncode: You must set this parameter to 0.
For more information, see StartMPUTask.
该文章对您有帮助吗?