sendUpdateTrackSettings method

  1. @internal
void sendUpdateTrackSettings()

Implementation

@internal
void sendUpdateTrackSettings() {
  final settings = lk_rtc.UpdateTrackSettings(
    trackSids: [sid],
    disabled: !_enabled,
  );
  if (kind == lk_models.TrackType.VIDEO) {
    settings.quality = _videoQuality;
    if (_fps != null) settings.fps = _fps!;
  }
  participant.room.engine.signalClient.sendUpdateTrackSettings(settings);
}