SimulcastStreamConfig
视频小流的配置。
Dart
class SimulcastStreamConfig {
const SimulcastStreamConfig({this.dimensions, this.kBitrate, this.framerate});
(name: 'dimensions')
final VideoDimensions? dimensions;
(name: 'kBitrate')
final int? kBitrate;
(name: 'framerate')
final int? framerate;
factory SimulcastStreamConfig.fromJson(Map<String, dynamic> json) =>
_$SimulcastStreamConfigFromJson(json);
Map<String, dynamic> toJson() => _$SimulcastStreamConfigToJson(this);
}
dimensions
kBitrate
视频码率 (Kbps)。该参数无需设置,SDK 会根据你设定的视频分辨率和帧率自动匹配最合适的码率。
framerate
视频帧率 (fps)。默认值为 5。