stopChannelMediaRelay method

  1. @override
Future<void> stopChannelMediaRelay()

Stops the media stream relay.

Once the relay stops, the broadcaster quits all the destination channels.

After a successful method call, the SDK triggers the RtcEngineEventHandler.channelMediaRelayStateChanged callback. If the callback returns ChannelMediaRelayState.Idle and ChannelMediaRelayError.None, the ClientRole.Broadcaster successfully stops the relay.

Note

Implementation

@override
Future<void> stopChannelMediaRelay() {
  return _invokeMethod('stopChannelMediaRelay');
}