Struct opentok::video_capturer::VideoCapturerSettings[][src]

pub struct VideoCapturerSettings {
    pub format: FrameFormat,
    pub width: i32,
    pub height: i32,
    pub fps: i32,
    pub expected_delay: i32,
    pub mirror_on_local_render: bool,
}
Expand description

Settings for a VideoCapturer.

Fields

format: FrameFormat

The pixel format.

width: i32

The width of the video in pixels.

height: i32

The height of the video in pixels.

fps: i32

The estimated number of frames per second of video.

expected_delay: i32

The estimated capture delay, in milliseconds.

mirror_on_local_render: bool

Whether the frame should appear mirrored on the x-axis in the local renderer.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.