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.

MediaEncodingProfile.CreateFromStreamAsync | createFromStreamAsync method

Applies to Windows and Windows Phone

Creates an encoding profile from a stream that contains media data.

Syntax


Windows.Media.MediaProperties.MediaEncodingProfile.createFromStreamAsync(stream).done( /* Your success and error handlers */ );

Parameters

stream

Type: IRandomAccessStream

The media stream from which to create the profile.

Return value

Type: IAsyncOperation<MediaEncodingProfile>

An object that is used to control the asynchronous operation.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

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

Namespace

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

Metadata

Windows.winmd

See also

MediaEncodingProfile

 

 

Show:
© 2014 Microsoft