|void||setSrcChannelInfo (ChannelMediaInfo srcInfo)|
|void||setDestChannelInfo (String channelName, ChannelMediaInfo destInfo)|
|void||removeDestChannelInfo (String channelName)|
|Map< String, ChannelMediaInfo >||getDestChannelMediaInfos ()|
Created by TongJiangyong on 31/01/2018. The ChannelMediaRelayConfiguration class.
The definition of ChannelMediaRelayConfiguration.
The information of the destination channel: ChannelMediaInfo.
uid: The user ID in the destination channel.
The information of the source channel: ChannelMediaInfo.
uid: ID of the user whose media stream you want to relay. We recommend setting it as 0, which means that the SDK relays the media stream of the current broadcaster.
Sets the information of the source channel.
|srcInfo||The information of the source channel: ChannelMediaInfo.|
Sets the information of the destination channel.
If you want to relay the media stream to multiple channels, call this method as many times (at most four).
|channelName||The name of the destination channel. Ensure that the value of this parameter is the same as that of the |
|destInfo||The information of the destination channel: ChannelMediaInfo.|
Removes the destination channel.
|channelName||The name of the destination channel.|