Share via


MediaStreamAttributeKeys Enumeration

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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

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

Syntax

'Declaration
Public Enumeration MediaStreamAttributeKeys
public enum MediaStreamAttributeKeys

Members

Member name Description
Supported by Silverlight for Windows Phone 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 Implementing MediaStream Sources and Media in Silverlight for Windows Phone.
Supported by Silverlight 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 Implementing MediaStream Sources and Media in Silverlight for Windows Phone.
Supported by Silverlight for Windows Phone Width The maximum width of reported video frames for this stream and the default width to render them at.
Supported by Silverlight for Windows Phone Height The maximum height of reported video frames for this stream and the default width to render them at.

Remarks

For more information and examples for VideoFourCC and CodecPrivateDate, see Implementing MediaStream Sources and Media in Silverlight for Windows Phone.

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.