AudioDeviceController.SetMediaStreamPropertiesAsync Metode

Definisi

Mengatur properti pengodean secara asinkron untuk jenis aliran media yang ditentukan untuk perangkat.

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

Parameter

mediaStreamType
MediaStreamType

Jenis aliran media untuk mengatur properti.

mediaEncodingProperties
IMediaEncodingProperties

Properti pengodean yang akan diatur.

Mengembalikan

Objek IAsyncAction yang digunakan untuk mengontrol operasi asinkron.

Penerapan

Berlaku untuk