#include <NGIAgoraRtcConnection.h>
Configurations for an RTC connection.
Set these configurations when calling createRtcConnection.
◆ RtcConnectionConfiguration()
agora::rtc::RtcConnectionConfiguration::RtcConnectionConfiguration |
( |
| ) |
|
|
inline |
◆ audioRecvMediaPacket
bool agora::rtc::RtcConnectionConfiguration::audioRecvMediaPacket |
Whether to receive audio media packet.
◆ audioSubscriptionOptions
◆ autoSubscribeAudio
bool agora::rtc::RtcConnectionConfiguration::autoSubscribeAudio |
Whether to subscribe to all audio tracks automatically.
true
: (Default) Subscribe to all audio tracks automatically.
false
: Do not subscribe to any audio track automatically.
◆ autoSubscribeVideo
bool agora::rtc::RtcConnectionConfiguration::autoSubscribeVideo |
Whether to subscribe to all video tracks automatically.
true
: (Default) Subscribe to all video tracks automatically.
false
: Do not subscribe to any video track automatically.
◆ channelProfile
The channel profile. For details, see CHANNEL_PROFILE_TYPE. The default channel profile is CHANNEL_PROFILE_LIVE_BROADCASTING
.
◆ clientRoleType
The user role. For details, see CLIENT_ROLE_TYPE. The default user role is CLIENT_ROLE_AUDIENCE
.
◆ enableAudioRecordingOrPlayout
bool agora::rtc::RtcConnectionConfiguration::enableAudioRecordingOrPlayout |
Whether to enable audio recording or playout.
true
: Enables audio recording or playout. Use this option when you publish and mix audio tracks, or subscribe to one or multiple audio tracks and play audio.
false
: Disables audio recording or playout. Use this option when you publish external audio frames without audio mixing, or you do not need audio devices to play audio.
◆ maxPort
int agora::rtc::RtcConnectionConfiguration::maxPort |
◆ maxSendBitrate
int agora::rtc::RtcConnectionConfiguration::maxSendBitrate |
The maximum sending bitrate.
◆ minPort
int agora::rtc::RtcConnectionConfiguration::minPort |
◆ videoRecvMediaPacket
bool agora::rtc::RtcConnectionConfiguration::videoRecvMediaPacket |
Whether to receive video media packet.
The documentation for this struct was generated from the following file: