Struct VideoCaptureConstraints
Additional optional constraints applied to the resolution and framerate when selecting a video capture format.
Inherited Members
Namespace: Microsoft.MixedReality.WebRTC.Unity
Assembly: cs.temp.dll.dll
Syntax
public struct VideoCaptureConstraints
Fields
framerate
Desired framerate, in frame-per-second, or zero for unconstrained. Note: the comparison is exact, and floating point imprecision may prevent finding a matching format. Use with caution.
Declaration
public double framerate
Field Value
Type | Description |
---|---|
Double |
height
Desired resolution height, in pixels, or zero for unconstrained.
Declaration
public int height
Field Value
Type | Description |
---|---|
Int32 |
width
Desired resolution width, in pixels, or zero for unconstrained.
Declaration
public int width
Field Value
Type | Description |
---|---|
Int32 |