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
VideoEncoding
height
Height of the video in pixels.
Type
number
width
Width of the video in pixels.
Type
number
Accessors
resolution
Returns the resolution of the video.
Type
VideoResolution