AudioDeviceController.SetMediaStreamPropertiesAsync 方法

定义

为设备的指定媒体流类型异步设置编码属性。

public:
 virtual IAsyncAction ^ SetMediaStreamPropertiesAsync(MediaStreamType mediaStreamType, IMediaEncodingProperties ^ mediaEncodingProperties) = SetMediaStreamPropertiesAsync;
IAsyncAction SetMediaStreamPropertiesAsync(MediaStreamType const& mediaStreamType, IMediaEncodingProperties const& mediaEncodingProperties);
public IAsyncAction SetMediaStreamPropertiesAsync(MediaStreamType mediaStreamType, IMediaEncodingProperties mediaEncodingProperties);
function setMediaStreamPropertiesAsync(mediaStreamType, mediaEncodingProperties)
Public Function SetMediaStreamPropertiesAsync (mediaStreamType As MediaStreamType, mediaEncodingProperties As IMediaEncodingProperties) As IAsyncAction

参数

mediaStreamType
MediaStreamType

要为其设置属性的媒体流的类型。

mediaEncodingProperties
IMediaEncodingProperties

要设置的编码属性。

返回

用于控制异步操作的 IAsyncAction 对象。

实现

适用于