srcInfo property

  1. @JsonKey.new(name: 'srcInfo')
ChannelMediaInfo? srcInfo
final

Source channel information ChannelMediaInfo, which includes the following members: channelName : Name of the source channel. Default is NULL, which means the SDK fills in the current channel name. token : The token used to join the source channel. It is generated based on the channelName and uid you set in srcInfo. 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, and the uid must be 0. uid : The UID that identifies the media stream being relayed in the source channel. Default is 0. Do not modify.

Implementation

@JsonKey(name: 'srcInfo')
final ChannelMediaInfo? srcInfo;