FEncodedVideoFrameInfo

Information about externally encoded video frames.

USTRUCT(BlueprintType)
struct FEncodedVideoFrameInfo {

	GENERATED_BODY()
	UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|EncodedVideoFrameInfo")
	EVIDEO_CODEC_TYPE codecType;
	UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|EncodedVideoFrameInfo")
	int width;
	UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|EncodedVideoFrameInfo")
	int height;
	UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|EncodedVideoFrameInfo")
	int framesPerSecond;
	UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|EncodedVideoFrameInfo")
	EVIDEO_FRAME_TYPE frameType;
	UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|EncodedVideoFrameInfo")
	FENUMWRAP_VIDEO_ORIENTATION	rotation;
	UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|EncodedVideoFrameInfo")
	int trackId;
	UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|EncodedVideoFrameInfo")
	int64 captureTimeMs;
	UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|EncodedVideoFrameInfo")
	int64 decodeTimeMs;
	UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|EncodedVideoFrameInfo")
	int64 uid;
	UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|EncodedVideoFrameInfo")
	EVIDEO_STREAM_TYPE streamType;
};

Attributes

codecType
The codec type of the local video stream. See EVIDEO_CODEC_TYPE. The default value is VIDEO_CODEC_H264 (2).
width
Width (pixel) of the video frame.
height
Height (pixel) of the video frame.
framesPerSecond

The number of video frames per second.

When this parameter is not 0, you can use it to calculate the Unix timestamp of externally encoded video frames.

frameType
The video frame type. See EVIDEO_FRAME_TYPE.
rotation
The rotation information of the video frame. See EENUMCUSTOM_VIDEO_ORIENTATION.
trackId
Reserved for future use.
The track ID. Used in scenarios with multiple video tracks in the channel.
captureTimeMs
The Unix timestamp (ms) for capturing the external encoded video frames.
decodeTimeMs
The Unix timestamp (ms) for decoding the external encoded video frames.
uid
The user ID to push the externally encoded video frame.
streamType
The type of video streams. See EVIDEO_STREAM_TYPE.