stop method

FutureOr<int> stop()

@detail api @brief After calling open:config:{@link #ByteRTCMediaPlayer#open:config}, start{@link #ByteRTCMediaPlayer#start}, or openWithCustomSource:config:{@link #ByteRTCMediaPlayer#openWithCustomSource:config} to start audio mixing, call this method to stop audio mixing. @return - 0: Success. - < 0 : Fail. See ByteRTCReturnStatus{@link #ByteRTCReturnStatus} for more details.

Implementation

FutureOr<int> stop() async {
  return await nativeCall('stop', []);
}