pauseAllChannelMediaRelayEx abstract method

Future<void> pauseAllChannelMediaRelayEx(
  1. RtcConnection connection
)

Pauses the media stream relay to all target channels.

After the cross-channel media stream relay starts, you can call this method to pause relaying media streams to all target channels; after the pause, if you want to resume the relay, call resumeAllChannelMediaRelay. Call this method after startOrUpdateChannelMediaRelayEx.

  • connection The connection information. See RtcConnection.

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> pauseAllChannelMediaRelayEx(RtcConnection connection);