Products / Plugins:Video Call / Voice Call / ZEGO Live
Platform / Framework:iOS / Android / macOS / Windows / Web
Last updated:2021-09-26 15:20
The SDK supports mixed single stream. In the current scenario, the mixed stream task will automatically retry to pull the disconnected stream for 90 seconds (the disconnected stream screen stays at the last frame), and will not retry after 90 seconds. You need to manually call stopMixerTask method to stop the mixed stream task.
ZegoExpress SDK provides the following two methods:
Note: Users can also use their own signaling service to send and receive mixed stream name information.
It is recommended to push the stream to ZEGO Lianmai server at the beginning, and then pass addPublishCdnUrl method adds retweets to the specified CDN address. Since ZEGO pulls the low-latency stream from the Lianmai server for mixed streaming, it will not interfere with the previously existing single stream, so in this scenario, as long as the stream is not stopped, the stream forwarded to the CDN will always exist.
In pure audio scenarios, the mixed stream does not support background images by default. If you want to display the background image, you need special configuration in the ZEGO background. Because this configuration needs to consider the traffic generated by the transmission of the background image, a certain amount of mixed flow fee is added. Please contact ZEGO technical support for consultation.
Soundwave "soundLevel" is turned on during mixing, and soundwave uses "SEI", which is not compatible with some browsers. Please set the parameter "withSoundLevel" to "false" to turn off the sound mixing function.