Pointer to 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.
- If you do not use a token, we recommend using the default values of the parameters in ChannelMediaInfo.
- If you use a token, set uid as 0, and ensure that the token is generated with the uid set as 0.
Pointer to the destination channel: ChannelMediaInfo. If you want to relay the media stream to multiple channels, define as many ChannelMediaInfo structs (at most four).
uid: ID of the user who is in the source channel.
The number of destination channels. The default value is 0, and the value range is [0,4). Ensure that the value of this parameter corresponds to the number of ChannelMediaInfo structs you define in