resumeAllChannelMediaRelayEx abstract method

Future<void> resumeAllChannelMediaRelayEx(
  1. RtcConnection connection
)

Resumes media stream relay to all destination channels.

After calling the pauseAllChannelMediaRelayEx method, if you need to resume media stream relay to all destination channels, you can call this method. This method must be called after pauseAllChannelMediaRelayEx.

  • connection 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. See Error Codes for details and resolution suggestions. < 0: Method call failed. See Error Codes for details and resolution suggestions. -5: This method call was rejected. There is no paused cross-channel media stream relay.

Implementation

Future<void> resumeAllChannelMediaRelayEx(RtcConnection connection);