Expand Minimize

VideoDeviceController.SetMediaStreamPropertiesAsync | setMediaStreamPropertiesAsync method

Applies to Windows and Windows Phone

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

Syntax


public IAsyncAction SetMediaStreamPropertiesAsync(
  MediaStreamType mediaStreamType, 
  IMediaEncodingProperties mediaEncodingProperties
)

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

VideoDeviceController

 

 

Show:
© 2014 Microsoft