MediaStreamAttributeKeys Enumeration

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

This enumeration is used in a dictionary of attributes for media streams.

Namespace: System.Windows.Media
Assembly: System.Windows (in System.Windows.dll)

Syntax

Public Enumeration MediaStreamAttributeKeys
public enum MediaStreamAttributeKeys

Members

Member name Description
CodecPrivateData Codec data that the pipeline needs to initialize and render correctly. For video, this is other header information. For audio, this is the base16-encoded WaveFormatEx structure. For more information on CodecPrivateDate, see Media for Windows Phone.
VideoFourCC Data needed to instantiate a video codec. This is the four-character value also known as a FourCC. For more information on VideoFourCC CodecPrivateDate, see Media for Windows Phone.
Width The maximum width of reported video frames for this stream and the default width to render them at.
Height The maximum height of reported video frames for this stream and the default width to render them at.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

System.Windows.Media Namespace

MediaStreamDescription

Other Resources

Quickstart: Audio and video for Windows Phone 8

Native audio APIs for Windows Phone 8

Media for Windows Phone