The definition of the EncodedVideoFrameInfo struct.
◆ EncodedVideoFrameInfo() [1/2]
◆ EncodedVideoFrameInfo() [2/2]
◆ operator=()
◆ codecType
◆ width
The width (px) of the video.
◆ height
The height (px) of the video.
◆ framesPerSecond
The number of video frames per second. This value will be used for calculating timestamps of the encoded image. If framesPerSecond equals zero, then real timestamp will be used. Otherwise, timestamp will be adjusted to the value of framesPerSecond set.
◆ frameType
◆ rotation
◆ trackId
The track ID of the video frame.
◆ renderTimeMs
The timestamp for rendering the video.
◆ internalSendTs
Use this timestamp for audio and video sync. You can get this timestamp from the OnEncodedVideoImageReceived
callback when encodedFrameOnly
is true
.
◆ uid
◆ streamType
The stream type of video frame.