|
Agora RTC Objective-C API Reference
Refactor
|
Data Fields | |
| ChannelMediaInfo * | srcInfo |
| ChannelMediaInfo * | destInfos |
| int | destCount |
|
inline |
| ChannelMediaInfo* srcInfo |
The information of the source channel. See 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.token: The token for joining the source channel. This token is generated with the channelName and uid you set in srcInfo.NULL, which means the SDK applies the App ID.token generated with the channelName and uid, and the uid must be set as 0.uid: The unique user ID to identify the relay stream in the source channel. Agora recommends leaving the default value of 0 unchanged. | ChannelMediaInfo* destInfos |
The information of the target channel ChannelMediaInfo. It contains the following members:
channelName: The name of the target channel.token: The token for joining the target channel. It is generated with the channelName and uid you set in destInfos.NULL, which means the SDK applies the App ID.token generated with the channelName and uid.uid: The unique user ID to identify the relay stream in the target channel. The value ranges from 0 to (2 32-1). To avoid user ID conflicts, this user ID must be different from any other user ID in the target channel. The default value is 0, which means the SDK generates a random UID. | int destCount |
The number of target channels. The default value is 0, and the value range is from 0 to 6. Ensure that the value of this parameter corresponds to the number of ChannelMediaInfo structs you define in destInfo.