Agora Interactive Whiteboard Java API Reference
|
Public Member Functions | |
void | setMediaState (long state, long errorCode) |
The AudioMixerImplement
interface, for implementing the audio mixing.
void com.herewhite.sdk.AudioMixerImplement.setMediaState | ( | long | state, |
long | errorCode | ||
) |
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:
|