Class RTCEncodedVideoFrame
- Namespace
- CSharpToJavaScript.APIs.JS
- Assembly
- CSharpToJavaScript.dll
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.
[Value("RTCEncodedVideoFrame")]
public class RTCEncodedVideoFrame
- Inheritance
-
RTCEncodedVideoFrame
- Inherited Members
Remarks
Constructors
RTCEncodedVideoFrame()
public RTCEncodedVideoFrame()
RTCEncodedVideoFrame(RTCEncodedVideoFrame, RTCEncodedVideoFrameOptions)
public RTCEncodedVideoFrame(RTCEncodedVideoFrame originalFrame, RTCEncodedVideoFrameOptions options = null)
Parameters
originalFrameRTCEncodedVideoFrameoptionsRTCEncodedVideoFrameOptions
Properties
Data
The data property of the RTCEncodedVideoFrame interface returns a buffer containing the frame data.
[Value("data")]
public ArrayBuffer Data { get; set; }
Property Value
Remarks
Type
The type read-only property of the RTCEncodedVideoFrame interface indicates whether this frame is a key frame, delta frame, or empty frame.
[Value("type")]
public RTCEncodedVideoFrameType Type { get; }
Property Value
- RTCEncodedVideoFrameType
The type can have one of the following values:
Remarks
Methods
GetMetadata()
The getMetadata() method of the RTCEncodedVideoFrame interface returns an object containing the metadata associated with the frame.
[Value("getMetadata")]
public RTCEncodedVideoFrameMetadata GetMetadata()
Returns
- RTCEncodedVideoFrameMetadata
An object with the following properties:
Remarks
This includes information about the frame, including its size, video encoding, other frames needed to construct a full image, timestamp, and other information.