LastmileProbeConfig

Last mile network probe configuration.

class LastmileProbeConfig {
  const LastmileProbeConfig(
      {this.probeUplink,
      this.probeDownlink,
      this.expectedUplinkBitrate,
      this.expectedDownlinkBitrate});

  @JsonKey(name: 'probeUplink')
  final bool? probeUplink;
  @JsonKey(name: 'probeDownlink')
  final bool? probeDownlink;
  @JsonKey(name: 'expectedUplinkBitrate')
  final int? expectedUplinkBitrate;
  @JsonKey(name: 'expectedDownlinkBitrate')
  final int? expectedDownlinkBitrate;
  factory LastmileProbeConfig.fromJson(Map<String, dynamic> json) =>
      _$LastmileProbeConfigFromJson(json);
  Map<String, dynamic> toJson() => _$LastmileProbeConfigToJson(this);
}

Properties

probeUplink
Whether to probe the uplink network. Some users, such as audience members in a live broadcast channel, do not need network probing:
  • true: Probe the uplink network.
  • false: Do not probe the uplink network.
probeDownlink
Whether to probe the downlink network:
  • true: Probe the downlink network.
  • false: Do not probe the downlink network.
expectedUplinkBitrate
Expected maximum uplink bitrate in bps. Range: [100000,5000000]. It is recommended to refer to the bitrate value in setVideoEncoderConfiguration when setting this parameter.
expectedDownlinkBitrate
Expected maximum downlink bitrate in bps. Range: [100000,5000000].