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.

Firefox does not support this property.

captureResolutionHeight: number

The resolution height (pixel) of the captured video.

captureResolutionWidth: number

The resolution width (pixel) of the captured video.

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

The video codec.

  • "H264": The video codec is H.264.
  • "VP8": The video codec is VP8.
  • "VP9": The video codec is VP9.
  • "AV1X": The video codec is AV1.

Firefox does not support this property.

currentPacketLossRate: number

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

encodeDelay?: number

The delay (ms) between video capture and video encoding.

Note: You cannot get this property on iOS.

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.

Firefox does not support this property.

sendPackets: number

The total packets of the sent video.

sendPacketsLost: number

The total number of lost video packets that were sent.

sendResolutionHeight: number

The resolution height (pixel) of the sent video.

sendResolutionWidth: number

The resolution width (pixel) of the sent video.

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.

Generated using TypeDoc