|void||startAudioMixing (String filepath, boolean loopback, boolean replace, int cycle)|
|void||setAudioMixingPosition (int position)|
AudioMixerBridge interface, for bridging the audio mixing method of the Agora RTC SDK and the Interactive Whiteboard SDK.
When you use the Agora RTC SDK and Interactive Whiteboard SDK at the same time, and the dynamic PPT slides displayed in the whiteboard contain audio files, you may encounter the issues of low volume and/or echoes when playing the audio in the PPT slides. To solve these issues, you can use the
AudioMixerBridge interface to call the audio mixing method of the Agora RTC SDK to play the audio files in the dynamic PPT slides.
AudioMixerBridgeinterface as well.
Starts playing and mixing the music file.
After calling this method, you need to call setMediaState to pass the audio mixing state to the dynamic PPT slides.
|filepath||The absolute path or URL address (including the filename extensions) of the music file.|
|loopback||Whether to only play music files on the local client:|
|replace||Whether to replace the audio collected by the microphone with a music file:|
|cycle||The number of times the music file plays.|
Stops playing or mixing the music file.
Sets the playback position of the audio mixing file.
|position||The playback position (ms) of the audio mixing file.|