Namespaces | |
liteav | |
Data Structures | |
struct | TRTCLocalStatistics |
struct | TRTCRemoteStatistics |
struct | TRTCStatistics |
Macros | |
#define | __TRTCSTATISTIC_H__ |
Tencent Cloud TRTC : audio, video and network related statistical indicators.
Module: TRTC audio/video metrics (read-only) Function: the TRTC SDK reports to you the current real-time audio/video metrics (frame rate, bitrate, lag, etc.) once every two seconds
struct liteav::TRTCLocalStatistics |
Public Member Functions | |
TRTCLocalStatistics () | |
Data Fields | |
uint32_t | audioCaptureState |
|
inline |
uint32_t audioCaptureState |
Field description:** local video width in px uint32_t width;
/**Field description:** local video height in px uint32_t height;
/**Field description:** local video frame rate in fps, i.e., how many video frames there are per second uint32_t frameRate;
/**Field description:** remote video bitrate in Kbps, i.e., how much video data is generated per second uint32_t videoBitrate;
/**Field description:** remote audio sample rate (Hz) uint32_t audioSampleRate;
/**Field description:** local audio bitrate in Kbps, i.e., how much audio data is generated per second uint32_t audioBitrate;
/**Field description:** video stream type (HD big image | smooth small image | substream image) TRTCVideoStreamType streamType;
/****Field description:**Audio equipment collection status( 0:Normal;1:Long silence detected;2:Broken sound detected;3:Abnormal intermittent sound detected;)
struct liteav::TRTCRemoteStatistics |
struct liteav::TRTCStatistics |
Data Fields | ||
---|---|---|
uint32_t | downLoss | |
uint32_t | gatewayRtt | |
TRTCLocalStatistics * | localStatisticsArray |
Field description:** total number of sent bytes (including signaling data and audio/video data) uint32_t sentBytes; /**Field description:** total number of received bytes (including signaling data and audio/video data) uint32_t receivedBytes; /****Field description:** local audio/video statistics As there may be three local audio/video streams (i.e., HD big image, smooth small image, and substream image), the local audio/video statistics are an array. |
TRTCRemoteStatistics * | remoteStatisticsArray |
Field description:** /****Field description:** remote audio/video statistics As there may be multiple concurrent remote users, and each of them may have multiple concurrent audio/video streams (i.e., HD big image, smooth small image, and substream image), the remote audio/video statistics are an array. |
uint32_t | rtt | |
uint32_t | upLoss |
Field description:** CPU utilization (%) of the current application uint32_t appCpu; /**Field description:** CPU utilization (%) of the current system uint32_t systemCpu; /****Field description:** upstream packet loss rate (%) from the SDK to cloud The smaller the value, the better. If |
#define __TRTCSTATISTIC_H__ |