VideoDeviceController.GetMediaStreamProperties(MediaStreamType) メソッド

定義

ビデオ デバイスの指定したメディア ストリームの種類のエンコード プロパティを取得します。

public:
 virtual IMediaEncodingProperties ^ GetMediaStreamProperties(MediaStreamType mediaStreamType) = GetMediaStreamProperties;
IMediaEncodingProperties GetMediaStreamProperties(MediaStreamType const& mediaStreamType);
public IMediaEncodingProperties GetMediaStreamProperties(MediaStreamType mediaStreamType);
function getMediaStreamProperties(mediaStreamType)
Public Function GetMediaStreamProperties (mediaStreamType As MediaStreamType) As IMediaEncodingProperties

パラメーター

mediaStreamType
MediaStreamType

プロパティを取得するメディア ストリームの種類。

戻り値

エンコード プロパティ。

実装

注釈

このメソッドから返されるエンコード プロパティの種類は、指定したストリームの種類に関係なく、 VideoEncodingProperties または ImageEncodingProperties のいずれかです。 このため、返される各 IMediaEncodingProperties オブジェクトの型をチェックし、オブジェクトのプロパティにアクセスする前に適切な型にキャストする必要があります。 MediaCapture のメディア エンコード プロパティの設定に関する記事では、必要なすべての型チェックとキャストを処理するヘルパー クラスの完全なコードを提供します。

適用対象

こちらもご覧ください