Defines a video device (such as a camera).
More...
Inherits IDisposable.
|
|
virtual void | Dispose (bool disposing) |
| |
Defines a video device (such as a camera).
Use the VideoCapturer.EnumerateDevices() method to get a list of available video devices on the system.
◆ CreateVideoCapturer() [1/3]
Creates a video capturer that uses the provided video format.
- Parameters
-
| format | The video format the video capturer should use. |
- Returns
- The VideoCapturer.
- See also
- ListFormats()
◆ CreateVideoCapturer() [2/3]
| VideoCapturer OpenTok.VideoCapturer.VideoDevice.CreateVideoCapturer |
( |
int |
width, |
|
|
int |
height, |
|
|
int |
fps = 30 |
|
) |
| |
Creates a video capturer that uses the provided width, height, and frame rate. The video capturer will use the closest available settings.
- Parameters
-
| width | The width of the video, in pixels. |
- Parameters
-
| height | The height of the video, in pixels. |
- Parameters
-
| fps | The frame rate of the video, in frames per second. |
- Returns
- The VideoCapturer.
◆ CreateVideoCapturer() [3/3]
Creates a video capturer that uses the provided resolution and frame rate. The video capturer will use the closest available settings.
- Parameters
-
| resolution | The resolution of the video, as defined by values in the Resolution enum. |
- Parameters
-
| frameRate | The frame rate of the video, as defined by values in the FrameRate enum |
- Returns
- The VideoCapturer.
◆ Dispose()
| void OpenTok.VideoCapturer.VideoDevice.Dispose |
( |
| ) |
|
◆ ListFormats()
| IList<VideoFormat> OpenTok.VideoCapturer.VideoDevice.ListFormats |
( |
| ) |
|
Returns a list of video formats available for the device.
◆ Id
| string OpenTok.VideoCapturer.VideoDevice.Id |
|
get |
◆ Name
| string OpenTok.VideoCapturer.VideoDevice.Name |
|
get |
The documentation for this class was generated from the following file:
- /Users/jswartz_1/src/native-sdk-src/project/windows/OpenTok/src/VideoCapturer.cs