OpenTok.VideoCapturer.VideoDevice

public class VideoDevice : IDisposable

封入タイプ: OpenTok.VideoCapturer

を使用する。 VideoCapturer.EnumerateDevices() システム上で利用可能なビデオデバイスの一覧を取得するメソッド。

プロパティ

名称 タイプ 説明
Name ストリング { get; } デバイスの名前。
Id ストリング { get; } デバイスのID。

方法

名称 説明
CreateVideoCapturer(format) → {VideoCapturer}
CreateVideoCapturer(width, height, fps) → {VideoCapturer}
CreateVideoCapturer(resolution, frameRate) → {VideoCapturer}
Dispose() 以下の事項を処理する VideoDevice オブジェクトのリソース。
Dispose(disposing)
ListFormats() → {IList<VideoFormat>} そのデバイスで利用可能な動画形式のリストを返します。

CreateVideoCapturer(format) →{VideoCapturer}

パラメータ:
名称 タイプ 説明
format 動画形式 ビデオキャプチャ装置が使用するべきビデオ形式。

参照: : - ListFormats()

リターンズ

について VideoCapturer.

CreateVideoCapturer(width, height, fps) →{VideoCapturer}

パラメータ:
名称 タイプ 説明
width イント 動画の幅(ピクセル単位)。
height イント 動画の高さ(ピクセル単位)。
fps イント 動画のフレームレート(1秒あたりのフレーム数)。
リターンズ

について VideoCapturer.

CreateVideoCapturer(resolution, frameRate) →{VideoCapturer}

パラメータ:
名称 タイプ 説明
resolution 決議 動画の解像度は、 決議 を列挙する。
frameRate フレームレート 動画のフレームレートは、 フレームレート 列挙
リターンズ

について VideoCapturer.

Dispose()

以下の事項を処理する VideoDevice オブジェクトのリソース。

Dispose(破棄中)

パラメータ:
名称 タイプ 説明
disposing bool

ListFormats() →{IList<VideoFormat>}

そのデバイスで利用可能な動画形式のリストを返します。

リターンズ

IList<VideoFormat>