destInfos property Null safety

List<ChannelMediaInfo> destInfos
read / write

The information of the destination channel: ChannelMediaInfo. It contains the following members:

  • channelName: The name of the destination channel.
  • uid: ID of the broadcaster in the destination channel. The value ranges from 0 to (232-1). To avoid UID conflicts, this uid must be different from any other UIDs in the destination channel. The default value is 0, which means the SDK generates a random UID.
  • token: The token for joining the destination channel. It is generated with the channelName and uid you set in destInfo.
    • 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 and uid.

Implementation

List<ChannelMediaInfo> destInfos;