pauseAllChannelMediaRelay method
Pauses the media stream relay to all destination channels.
After the cross-channel media stream relay starts, you can call this method to pause relaying media streams to all destination channels; after the pause, if you want to resume the relay, call resumeAllChannelMediaRelay.
After a successful method call, the SDK triggers the RtcEngineEventHandler.channelMediaRelayEvent callback to report whether the media stream relay is successfully paused.
Note: Call this method after the startChannelMediaRelay method.
Implementation
@override
Future<void> pauseAllChannelMediaRelay() {
return _invokeMethod('pauseAllChannelMediaRelay');
}