pauseAudioMixing abstract method

Future<void> pauseAudioMixing()

Pauses playing and mixing the music file.

After calling startAudioMixing to play a music file, you can call this method to pause the playing. If you need to stop the playback, call stopAudioMixing.

Returns When the method call succeeds, there is no return value; when fails, the AgoraRtcException exception is thrown. You need to catch the exception and handle it accordingly.

Implementation

Future<void> pauseAudioMixing();