Back to the matrix

Scalable video coding

app/lib/lc/chime-session-tuning.ts, line 124

Repository rr7

  // browser (it needs Blink >= 111 and all iOS browsers are WebKit), which is why the downlink
  // policy below is set explicitly rather than relying on the SDK's "SVC implies a priority
  // policy" default: without that line an iPhone would silently fall back to
  // AllHighestVideoBandwidthPolicy, which does not adapt at all.
  configuration.enableSVC = true;
  configuration.videoDownlinkBandwidthPolicy = weakNetworkDownlinkPolicy(logger);
  configuration.videoUplinkBandwidthPolicy = createChimeVideoUplinkPolicy(
    configuration.credentials?.attendeeId ?? '',
    logger,
  );

  configuration.connectionTimeoutMs = CONNECTION_TIMEOUT_MS;
  configuration.reconnectTimeoutMs = RECONNECT_TIMEOUT_MS;
  configuration.reconnectLongBackOffMs = RECONNECT_LONG_BACKOFF_MS;
  configuration.connectionHealthPolicyConfiguration = weakNetworkConnectionHealthPolicy();