Suggestions

close search

Add Messaging, Voice, and Authentication to your apps with Vonage Communications APIs

Visit the Vonage API Developer Portal

OpenTok.VideoCapturer.VideoFormat

Defines a video format available to a video device. More...

Properties

int Width [get]
 The width of the video frames, in pixels. More...
int Height [get]
 The height of the video frames, in pixels. More...
int Fps [get]
 The frame rate of the video, in frames per second. More...
PixelFormat PixelFormat [get]
 The pixel format of the video frames, as defined by the OpenTok.PixelFormat enum. More...

Detailed Description

Defines a video format available to a video device.

Use the VideoDevice.ListFormats() method to get a list of VideoFormat objects for a device.

Property Documentation

◆ Fps

int OpenTok.VideoCapturer.VideoFormat.Fps

The frame rate of the video, in frames per second.

◆ Height

int OpenTok.VideoCapturer.VideoFormat.Height

The height of the video frames, in pixels.

◆ PixelFormat

PixelFormat OpenTok.VideoCapturer.VideoFormat.PixelFormat

The pixel format of the video frames, as defined by the OpenTok.PixelFormat enum.

◆ Width

int OpenTok.VideoCapturer.VideoFormat.Width

The width of the video frames, in pixels.