Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 1.33 KB

mediaframeformat.md

File metadata and controls

30 lines (20 loc) · 1.33 KB
-api-id -api-type
T:Windows.Media.Capture.Frames.MediaFrameFormat
winrt class

Windows.Media.Capture.Frames.MediaFrameFormat

-description

Describes the format of a media frame obtained from a MediaFrameSource and represented by a MediaFrameReference.

-remarks

The MediaFrameSource class uses this object to specify the current format of the media frames it generates. Get the current format of a media frame source by accessing the CurrentFormat property. Set the current format of a media frame source by calling SetFormatAsync.

Get the format of a media frame represented by a MediaFrameReference by accessing the Format property.

Get the format of a video frame represented by a VideoMediaFrame by accessing the VideoFormat property and then using the returned object's MediaFrameFormat property.

Version history

Windows version SDK version Value added
1803 17134 AudioEncodingProperties

-examples

-see-also