Constructor VideoFpsOptions
VideoFpsOptions(VideoFpsMode, int)
Initializes a new instance of the VideoFpsOptions class with the specified mode and target FPS.
Declaration
public VideoFpsOptions(VideoFpsMode mode, int targetFps)
Parameters
| Type | Name | Description |
|---|---|---|
| VideoFpsMode | mode | The mode for limiting the FPS. |
| int | targetFps | The target frames per second (FPS) value. Must be greater than zero. |
Exceptions
| Type | Condition |
|---|---|
| ArgumentOutOfRangeException |
|