Server Gateway SDK v3.8.202.20 for Linux C++
|
Typedefs | |
typedef unsigned int | uid_t |
typedef unsigned int | track_id_t |
typedef unsigned int | conn_id_t |
Variables | |
const int | STANDARD_BITRATE = 0 |
const int | COMPATIBLE_BITRATE = -1 |
static const unsigned int | DEFAULT_CONNECTION_ID = 0 |
static const unsigned int | DUMMY_CONNECTION_ID = (std::numeric_limits<unsigned int>::max)() |
typedef unsigned int agora::rtc::conn_id_t |
typedef unsigned int agora::rtc::track_id_t |
typedef unsigned int agora::rtc::uid_t |
Audio profile types.
Audio application scenarios.
Reasons for a connection state change.
Connection state types.
Video degradation preferences under limited bandwidth.
States of the last mile network probe result.
Reasons for the local audio failure.
States of the local audio.
Local video state error codes.
Local video state types.
The network type.
Video output orientation modes.
Quality change of the local video in terms of target frame rate and target bit rate since last count.
The network quality types.
Enumerator | |
---|---|
QUALITY_UNKNOWN | 0: The network quality is unknown.
|
QUALITY_EXCELLENT | 1: The quality is excellent. |
QUALITY_GOOD | 2: The quality is quite good, but the bitrate may be slightly lower than excellent. |
QUALITY_POOR | 3: Users can feel the communication slightly impaired. |
QUALITY_BAD | 4: Users cannot communicate smoothly. |
QUALITY_VBAD | 5: Users can barely communicate. |
QUALITY_DOWN | 6: Users cannot communicate at all. |
Remote audio states.
Reasons for a remote audio state change.
The downscale level of the remote video stream . The higher the downscale level, the more the video downscales.
The state of the remote video.
Enumerator | |
---|---|
REMOTE_VIDEO_STATE_STOPPED | 0: The remote video is in the default state, probably due to REMOTE_VIDEO_STATE_REASON_LOCAL_MUTED (3), REMOTE_VIDEO_STATE_REASON_REMOTE_MUTED (5), or REMOTE_VIDEO_STATE_REASON_REMOTE_OFFLINE (7). |
REMOTE_VIDEO_STATE_STARTING | 1: The first remote video packet is received. |
REMOTE_VIDEO_STATE_DECODING | 2: The remote video stream is decoded and plays normally, probably due to REMOTE_VIDEO_STATE_REASON_NETWORK_RECOVERY (2), REMOTE_VIDEO_STATE_REASON_LOCAL_UNMUTED (4), REMOTE_VIDEO_STATE_REASON_REMOTE_UNMUTED (6), or REMOTE_VIDEO_STATE_REASON_AUDIO_FALLBACK_RECOVERY (9). |
REMOTE_VIDEO_STATE_FROZEN | 3: The remote video is frozen, probably due to REMOTE_VIDEO_STATE_REASON_NETWORK_CONGESTION (1) or REMOTE_VIDEO_STATE_REASON_AUDIO_FALLBACK (8). |
REMOTE_VIDEO_STATE_FAILED | 4: The remote video fails to start, probably due to REMOTE_VIDEO_STATE_REASON_INTERNAL (0). |
The reason for the remote video state change.
enum agora::rtc::TCcMode |
Reasons for a user being offline.
Types of the video frame.
The rotation information.
Video source types.
const int agora::rtc::COMPATIBLE_BITRATE = -1 |
-1: Compatible bitrate mode.
In this mode, the bitrate remains the same regardless of the channel profile. If you choose this mode in the live-broadcast profile, the video frame rate may be lower than the set value.
|
static |
|
static |
const int agora::rtc::STANDARD_BITRATE = 0 |
(Recommended) 0: Standard bitrate mode.
In this mode, the bitrates differ between the live broadcast and communication profiles: