Optionaloptions: {OptionalencoderConfig?: You can choose from the below mentioned list of values for the encoder config.
| Encoder Config | Resolution | Frame Rate | Bitrate |
|---|---|---|---|
| h360p_30fps | 640x360 | 30 fps | 400 kbps |
| h480p_15fps | 854x480 | 15 fps | 300 kbps |
| h480p_30fps | 854x480 | 30 fps | 500 kbps |
| h720p_5fps | 1280x720 | 5 fps | 400 kbps |
| h720p_15fps | 1280x720 | 15 fps | 1000 kbps |
| h720p_30fps | 1280x720 | 30 fps | 1500 kbps |
| h1080p_15fps | 1920x1080 | 15 fps | 1500 kbps |
| h1080p_30fps | 1920x1080 | 30 fps | 2000 kbps |
Note
Above mentioned encoder configurations are valid for both, landscape as well as portrait mode.
OptionalmultiStream?: booleanIt will specify if the stream should send multiple resolution layers or single resolution layer.
OptionaloptimizationMode?: "text" | "motion" | "detail"Optimization strategy for screen sharing.
OptionalwithAudio?: "enable" | "disable"Enables or disables audio during screen sharing.