Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

MediaStreamSample.KeyFrame | keyFrame property

Applies to Windows and Windows Phone

Gets or sets a value that indicates the MediaStreamSample contains a keyframe.

Syntax


var keyFrame = mediaStreamSample.keyFrame;
mediaStreamSample.keyFrame = keyFrame;

Property value

Type: Boolean [JavaScript] | System.Boolean [.NET] | Platform::Boolean [C++]

true if the MediaStreamSample contains a frame that can be decoded independently from other frames; otherwise, false. The default value is false.

Remarks

This flag should be set to true when the MediaStreamSample contains an audio or video frame which can be independently decoded from other frames. Such frames are sometimes referred to as cleanpoints, I-frames, IDR-frames or key frames.

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Media.Core
Windows::Media::Core [C++]

Metadata

Windows.winmd

See also

MediaStreamSample

 

 

Show:
© 2015 Microsoft