VideoFrameCallbackMetadata Class
The description of a frame presented by a video element (https://wicg.github.io/video-rvfc/#dictdef-videoframecallbackmetadata).
public sealed class VideoFrameCallbackMetadataConstructors
| Name | Description |
|---|---|
| VideoFrameCallbackMetadata() |
VideoFrameCallbackMetadata()
- Obsolete: Constructors of types with required members are not supported in this version of your compiler.
[Obsolete("Constructors of types with required members are not supported in this version of your compiler.", true)]
public VideoFrameCallbackMetadata()No documentation is available.
Properties
| Name | Description |
|---|---|
| CaptureTime | Gets the time the frame was captured (the frames of a local or remote track), or null. |
| ExpectedDisplayTime | Gets the time the frame is expected to be visible, in milliseconds relative to the time origin of the window. |
| Height | Gets the height of the frame in pixels. |
| MediaTime | Gets the position of the frame on the media timeline, in seconds. |
| PresentationTime | Gets the time the frame was presented, in milliseconds relative to the time origin of the window. |
| PresentedFrames | Gets the number of frames presented by the element, this one included. |
| ProcessingDuration | Gets the time spent decoding the frame, in seconds, or null. |
| ReceiveTime | Gets the time the frame was received (the frames of a remote track), or null. |
| RtpTimestamp | Gets the RTP timestamp of the frame (the frames of a remote track), or null. |
| Width | Gets the width of the frame in pixels. |
CaptureTime
VideoElement.FrameCallbacks.csGets the time the frame was captured (the frames of a local or remote track), or null.
public double? CaptureTime { get; init; }Property value
See also
ExpectedDisplayTime
VideoElement.FrameCallbacks.csGets the time the frame is expected to be visible, in milliseconds relative to the time origin of the window.
public required double ExpectedDisplayTime { get; init; }Gets the height of the frame in pixels.
public required uint Height { get; init; }MediaTime
VideoElement.FrameCallbacks.csGets the position of the frame on the media timeline, in seconds.
public required double MediaTime { get; init; }Property value
See also
PresentationTime
VideoElement.FrameCallbacks.csGets the time the frame was presented, in milliseconds relative to the time origin of the window.
public required double PresentationTime { get; init; }Property value
See also
PresentedFrames
VideoElement.FrameCallbacks.csGets the number of frames presented by the element, this one included.
public required uint PresentedFrames { get; init; }Property value
See also
ProcessingDuration
VideoElement.FrameCallbacks.csGets the time spent decoding the frame, in seconds, or null.
public double? ProcessingDuration { get; init; }ReceiveTime
VideoElement.FrameCallbacks.csGets the time the frame was received (the frames of a remote track), or null.
public double? ReceiveTime { get; init; }Property value
See also
RtpTimestamp
VideoElement.FrameCallbacks.csGets the RTP timestamp of the frame (the frames of a remote track), or null.
public uint? RtpTimestamp { get; init; }Property value
See also
Gets the width of the frame in pixels.
public required uint Width { get; init; }