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.

AudioDeviceController.SetMediaStreamPropertiesAsync | setMediaStreamPropertiesAsync method

Applies to Windows and Windows Phone

Sets the encoding properties asynchronously for the specified media stream type for the device.

Syntax


audioDeviceController.setMediaStreamPropertiesAsync(mediaStreamType, mediaEncodingProperties).done( /* Your success and error handlers */ );

Parameters

mediaStreamType

Type: MediaStreamType

The type of media stream for which to set the properties.

mediaEncodingProperties

Type: IMediaEncodingProperties

The encoding properties to set.

Return value

Type: IAsyncAction

An IAsyncAction 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.Devices
Windows::Media::Devices [C++]

Metadata

Windows.winmd

See also

AudioDeviceController

 

 

Show:
© 2014 Microsoft