SimulcastStreamConfig
The configuration of the low-quality video stream.
class SimulcastStreamConfig {
const SimulcastStreamConfig({this.dimensions, this.kBitrate, this.framerate});
@JsonKey(name: 'dimensions')
final VideoDimensions? dimensions;
@JsonKey(name: 'kBitrate')
final int? kBitrate;
@JsonKey(name: 'framerate')
final int? framerate;
factory SimulcastStreamConfig.fromJson(Map<String, dynamic> json) =>
_$SimulcastStreamConfigFromJson(json);
Map<String, dynamic> toJson() => _$SimulcastStreamConfigToJson(this);
}
Attributes
- dimensions
- The video dimension. See VideoDimensions. The default value is 50% of the high-quality video stream.
- kBitrate
- Video bitrate (Kbps). The default value is -1. This parameter does not need to be set. The SDK automatically matches the most suitable bitrate based on the video resolution and frame rate you set.
- frameRate
- The frame rate (fps) of the local video. The default value is 5.