RTCEncodedVideoFrame

The RTCEncodedVideoFrame of the WebRTC API represents an encoded video frame in the WebRTC receiver or sender pipeline, which may be modified using a WebRTC Encoded Transform.

MDN Reference

Properties

Link copied to clipboard

The data property of the RTCEncodedVideoFrame interface returns a buffer containing the frame data.

Link copied to clipboard
Link copied to clipboard

The type read-only property of the RTCEncodedVideoFrame interface indicates whether this frame is a key frame, delta frame, or empty frame.

Functions

Link copied to clipboard

The getMetadata() method of the RTCEncodedVideoFrame interface returns an object containing the metadata associated with the frame.