destInfos property

  1. @JsonKey.new(name: 'destInfos')
List<ChannelMediaInfo>? destInfos
final

If the token for any destination channel expires, all cross-channel relays will stop. Therefore, it is recommended that you set the same expiration duration for the tokens of all destination channels. Destination channel information ChannelMediaInfo, which includes the following members: channelName : Name of the destination channel. token : The token used to join the destination channel. It is generated based on the channelName and uid you set in destInfos. If App Certificate is not enabled, you can set this parameter to the default value NULL, which means the SDK fills in the App ID. If App Certificate is enabled, you must provide a token generated using the channelName and uid. uid : The UID that identifies the media stream being relayed in the destination channel. The value range is 0 to (2^32 - 1). Ensure it is different from all UIDs in the destination channel. Default is 0, which means the SDK assigns a UID randomly.

Implementation

@JsonKey(name: 'destInfos')
final List<ChannelMediaInfo>? destInfos;