ReportOpenMediaCompleted Method

MediaStreamSource.ReportOpenMediaCompleted Method

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

Developers call this method in response to OpenMediaAsync to inform the MediaElement that the MediaStreamSource has been opened and to supply information about the streams it contains.

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

protected void ReportOpenMediaCompleted(
	IDictionary<MediaSourceAttributesKeys, string> mediaStreamAttributes,
	IEnumerable<MediaStreamDescription> availableMediaStreams
)

Parameters

mediaStreamAttributes
Type: System.Collections.Generic.IDictionary<MediaSourceAttributesKeys, String>
A collection of attributes describing features of the entire media source. Currently supported attributes are listed in the MediaSourceAttributesKeys.
availableMediaStreams
Type: System.Collections.Generic.IEnumerable<MediaStreamDescription>
A description of each audio and video stream contained within the content.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2016 Microsoft