VideoFrameCallbackMetadata Class

The description of a frame presented by a video element (https://wicg.github.io/video-rvfc/#dictdef-videoframecallbackmetadata).

public sealed class VideoFrameCallbackMetadata

Constructors

NameDescription
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

NameDescription
CaptureTimeGets the time the frame was captured (the frames of a local or remote track), or null.
ExpectedDisplayTimeGets the time the frame is expected to be visible, in milliseconds relative to the time origin of the window.
HeightGets the height of the frame in pixels.
MediaTimeGets the position of the frame on the media timeline, in seconds.
PresentationTimeGets the time the frame was presented, in milliseconds relative to the time origin of the window.
PresentedFramesGets the number of frames presented by the element, this one included.
ProcessingDurationGets the time spent decoding the frame, in seconds, or null.
ReceiveTimeGets the time the frame was received (the frames of a remote track), or null.
RtpTimestampGets the RTP timestamp of the frame (the frames of a remote track), or null.
WidthGets the width of the frame in pixels.

Gets the time the frame was captured (the frames of a local or remote track), or null.

public double? CaptureTime { get; init; }

Gets 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; }

Gets the position of the frame on the media timeline, in seconds.

public required double MediaTime { get; init; }

Gets the time the frame was presented, in milliseconds relative to the time origin of the window.

public required double PresentationTime { get; init; }

Gets the number of frames presented by the element, this one included.

public required uint PresentedFrames { get; init; }

Gets the time spent decoding the frame, in seconds, or null.

public double? ProcessingDuration { get; init; }

Gets the time the frame was received (the frames of a remote track), or null.

public double? ReceiveTime { get; init; }

Gets the RTP timestamp of the frame (the frames of a remote track), or null.

public uint? RtpTimestamp { get; init; }

Gets the width of the frame in pixels.

public required uint Width { get; init; }