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 RtcChannelEventHandler.channelMediaRelayStateChanged callback. If the callback reports ChannelMediaRelayState.Idle and ChannelMediaRelayError.None, the broadcaster successfully stops the relay.

Note

Implementation

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