updateChannelMediaRelay abstract method

Future<void> updateChannelMediaRelay(
  1. ChannelMediaRelayConfiguration channelMediaRelayConfiguration
)

Updates the channels for media stream relay. After the media relay starts, if you want to relay the media stream to more channels, or leave the current relay channel, you can call the updateChannelMediaRelay method. After a successful method call, the SDK triggers the channelMediaRelayEvent callback with the UpdateDestinationChannel(7) state code. Call this method after the startChannelMediaRelay method to update the destination channel.

Param channelMediaRelayConfiguration The configuration of the media stream relay.

Implementation

Future<void> updateChannelMediaRelay(
    ChannelMediaRelayConfiguration channelMediaRelayConfiguration);