pause abstract method

Future<int?> pause()

After calling RTCMediaPlayer.open or RTCMediaPlayer.start to start audio mixing, call this API to pause audio mixing.

Return value:

  • 0: Success.
  • <0: Failure.

Notes: After calling this API to pause audio mixing, call RTCMediaPlayer.resume to resume audio mixing.

Implementation

Future<int?> pause();