How to mix the audio from media player playback into the published stream?
There are two methods: (choose one)
-
Method 1: Through the enableAux interface, enable the media player audio mixing function to mix the media player audio into the
mainpublished stream. (Only supports mixing into the main stream) -
Method 2: Through the enableCustomAudioIO interface (parameter channel select "ZegoPublishChannelAux", parameter config configure sourceType as "ZegoAudioSourceTypeMediaPlayer"), enable auxiliary custom audio capture, and set the audio capture source to the media player to mix the media player audio into the
auxiliarypublished stream. (Only supports configuring auxiliary stream)
