VideoPreset
Summary
Class defining a video preset for simulcast.Constructor
Constructs a new VideoPreset.
Signature
new VideoPreset(width: number, height: number, maxBitrate: number, maxFramerate?: number)| Name | Type | Description |
|---|---|---|
width | number | Width of the video in pixels. |
height | number | Height of the video in pixels. |
maxBitrate | number | Max bitrate in bps. |
maxFramerate optional | number | Max framerate in fps (optional) |
Properties
encoding
Video encoding information.
Type
VideoEncodingheight
Height of the video in pixels.
Type
numberwidth
Width of the video in pixels.
Type
numberAccessors
resolution
Returns the resolution of the video.
Type
VideoResolution