Agora Java API Reference for Android
|
#include <AgoraBase.h>
Public Attributes | |
ChannelMediaInfo * | srcInfo |
ChannelMediaInfo * | destInfos |
int | destCount |
The definition of ChannelMediaRelayConfiguration.
ChannelMediaInfo* agora::rtc::ChannelMediaRelayConfiguration::srcInfo |
Pointer to the source channel: ChannelMediaInfo.
uid
: ID of the user whose media stream you want to relay. We recommend setting it as 0, which means that the SDK relays the media stream of the current broadcaster.ChannelMediaInfo* agora::rtc::ChannelMediaRelayConfiguration::destInfos |
Pointer to the destination channel: ChannelMediaInfo. If you want to relay the media stream to multiple channels, define as many ChannelMediaInfo structs (at most four).
uid
: ID of the user who is in the source channel. int agora::rtc::ChannelMediaRelayConfiguration::destCount |
The number of destination channels. The default value is 0, and the value range is [0,4). Ensure that the value of this parameter corresponds to the number of ChannelMediaInfo structs you define in destInfos
.