Interface LocalVideoTrackStats

Information of the local video track, which can be retrieved by calling [AgoraRTCClient.getLocalVideoStats]getLocalVideoStats.

Hierarchy

  • LocalVideoTrackStats

Properties

captureFrameRate?: number

The frame rate (fps) of the captured video.

You can not get this property on Safari and Firefox.

captureResolutionHeight: number

The resolution height (pixel) of the captured video.

captureResolutionWidth: number

The resolution width (pixel) of the captured video.

codecType?: "H264" | "H265" | "VP8" | "VP9" | "AV1X" | "AV1"

The video codec.

  • "H264": The video codec is H.264.
  • "H265": The video codec is H.265.
  • "VP8": The video codec is VP8.
  • "VP9": The video codec is VP9.
  • "AV1X": Reserved for future use.
  • "AV1": Reserved for future use.

You can not get this property on Firefox.

currentPacketLossRate: number

The packet loss rate of the sent video in 400ms.

encodeDelay?: number

The time (ms) required for encoding the captured video.

sendBitrate: number

The bitrate (bps) of the sent video.

sendBytes: number

The total bytes of the sent video.

sendFrameRate?: number

The frame rate (fps) of the sent video.

You can not get this property on Firefox.

sendJitterMs: number

Jitter (ms) of the video packets that were sent.

sendPackets: number

The total packets of the sent video.

sendPacketsLost: number

The total number of lost video packets that were sent.

  • You can not get this property on Safari.
  • This property is inaccurate on Firefox.
sendResolutionHeight: number

The resolution height (pixel) of the sent video.

sendResolutionWidth: number

The resolution width (pixel) of the sent video.

sendRttMs: number

Round-trip time delay (ms) of the video packets that were sent.

targetSendBitrate: number

The target bitrate (bps) of the sent video, namely the bitrate set in VideoEncoderConfiguration.

totalDuration: number

The total duration of the sent video in seconds.

totalFreezeTime: number

The total freeze time of the encoded video in seconds.