srcInfo property
The information of the source channel: ChannelMediaInfo. It contains the following members:
channelName
: The name of the source channel. The default value is NULL, which means the SDK applies the name of the current channel.uid
: ID of the broadcaster whose media stream you want to relay. The default value is 0, which means the SDK generates a random UID. You must set it as 0.token
: The token for joining the source channel. It is generated with thechannelName
anduid
you set insrcInfo
.- If you have not enabled the App Certificate, set this parameter as the default value NULL, which means the SDK applies the App ID.
- If you have enabled the App Certificate, you must use the token generated with the
channelName
anduid
.
Implementation
ChannelMediaInfo? srcInfo;