AppBroadcastStreamVideoHeader Class

Definition

Provides metadata about a broadcast video frame.

Note

This API requires the appBroadcast and appBroadcastSettings capability which is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime.

public ref class AppBroadcastStreamVideoHeader sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Media.Capture.AppBroadcastContract, 65536)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class AppBroadcastStreamVideoHeader final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Media.Capture.AppBroadcastContract), 65536)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class AppBroadcastStreamVideoHeader
Public NotInheritable Class AppBroadcastStreamVideoHeader
Inheritance
Object Platform::Object IInspectable AppBroadcastStreamVideoHeader
Attributes

Windows requirements

Device family
Windows Desktop Extension SDK (introduced in 10.0.15063.0)
API contract
Windows.Media.Capture.AppBroadcastContract (introduced in v1.0)
App capabilities
appBroadcast appBroadcastSettings

Remarks

Get an instance of this class by accessing the VideoHeader property of an AppBroadcastStreamVideoFrame object obtained from a call to AppBroadcastStreamReader.TryGetNextVideoFrame.

Properties

AbsoluteTimestamp

Gets a time stamp indicating the system time at which the video frame was captured.

Duration

Gets a value indicating the duration of the video frame.

FrameId

Gets a value that identifies the video frame.

HasDiscontinuity

Gets a value indicating whether the video frame contains a discontinuity in the video stream.

IsKeyFrame

Gets a value indicating whether the video frame is a key frame within the broadcast video stream.

RelativeTimestamp

Gets a time stamp indicating the relative time within the video stream at which the video frame was captured.

Applies to