|void||setMediaState (long state, long errorCode)|
AudioMixerImplement interface, for implementing the audio mixing.
Sets the playback state of the audio file.
You need to call this method in the
onAudioMixingStateChanged callback triggered by the Agora RTC SDK to pass the playback state of the audio file to the dynamic PPT slides in the whiteboard. The dynamic PPT slides play the video based on the received audio playback state to ensure the synchronization of audio and video.
|state||The current audio file playback state：|
|errorCode||The reason for the change of the audio file playback state:|