pauseAllChannelMediaRelay abstract method

Future<void> pauseAllChannelMediaRelay()

Pauses media stream relay to all destination channels.

After starting media stream relay across channels, if you want to pause relaying to all destination channels, you can call this method. To resume relaying, call resumeAllChannelMediaRelay. You must call this method after calling startOrUpdateChannelMediaRelay to start media stream relay across channels.

Returns When the method call succeeds, there is no return value; when it fails, the AgoraRtcException exception is thrown. You need to catch the exception and handle it accordingly. See Error Codes for details and resolution suggestions.

Implementation

Future<void> pauseAllChannelMediaRelay();