{"version":3,"file":"options.mjs","sources":["../../../../src/room/track/options.ts"],"sourcesContent":["import type { FrameMetadataPublishOptions } from '../../frameMetadata/types';\nimport type { Track } from './Track';\nimport type {\n  AudioProcessorOptions,\n  TrackProcessor,\n  VideoProcessorOptions,\n} from './processor/types';\n\nexport interface TrackPublishDefaults {\n  /**\n   * encoding parameters for camera track\n   */\n  videoEncoding?: VideoEncoding;\n\n  /**\n   * Advanced codecs (VP9/AV1/H265) are not supported by all browser clients. When backupCodec is\n   * set, when an incompatible client attempts to subscribe to the track, LiveKit\n   * will automatically publish a secondary track encoded with the backup codec.\n   *\n   * You could customize specific encoding parameters of the backup track by\n   * explicitly setting codec and encoding fields.\n   *\n   * Defaults to `true`\n   */\n  backupCodec?: true | false | { codec: BackupVideoCodec; encoding?: VideoEncoding };\n\n  /**\n   * When backup codec is enabled, there are two options to decide whether to\n   * send the primary codec at the same time:\n   *   * codec regression: publisher stops sending primary codec and all subscribers\n   *       will receive backup codec even if the primary codec is supported on their browser. It is the default\n   *       behavior and provides maximum compatibility. It also reduces CPU\n   *       and bandwidth consumption for publisher.\n   *   * multi-codec simulcast: publisher encodes and sends both codecs at same time,\n   *       subscribers will get most efficient codec. It will provide most bandwidth\n   *       efficiency, especially in the large 1:N room but requires more device performance\n   *       and bandwidth consumption for publisher.\n   */\n  backupCodecPolicy?: BackupCodecPolicy;\n\n  /**\n   * encoding parameters for screen share track\n   */\n  screenShareEncoding?: VideoEncoding;\n\n  /**\n   * codec, defaults to vp8; for svc codecs, auto enable vp8\n   * as backup. (TBD)\n   */\n  videoCodec?: VideoCodec;\n\n  /**\n   * which audio preset should be used for publishing (audio) tracks\n   * defaults to [[AudioPresets.music]]\n   */\n  audioPreset?: AudioPreset;\n\n  /**\n   * dtx (Discontinuous Transmission of audio), enabled by default for mono tracks.\n   */\n  dtx?: boolean;\n\n  /**\n   * red (Redundant Audio Data), enabled by default for mono tracks.\n   */\n  red?: boolean;\n\n  /**\n   * publish track in stereo mode (or set to false to disable). defaults determined by capture channel count.\n   */\n  forceStereo?: boolean;\n\n  /**\n   * use simulcast, defaults to true.\n   * When using simulcast, LiveKit will publish up to three versions of the stream\n   * at various resolutions.\n   */\n  simulcast?: boolean;\n\n  /**\n   * scalability mode for svc codecs, defaults to 'L3T3_KEY'.\n   * for svc codecs, simulcast is disabled if more than one spatial layer is used ('L2Tx' or 'L3Tx').\n   */\n  scalabilityMode?: ScalabilityMode;\n\n  /**\n   * Controls how the encoder trades off between resolution and framerate\n   * when bandwidth is constrained.\n   *\n   * - 'maintain-framerate': Prioritizes framerate, reduces resolution if needed\n   * - 'maintain-resolution': Prioritizes resolution, drops frames if needed\n   * - 'balanced': Balances between both\n   *\n   * If not set, the SDK uses defaults based on track source:\n   * - Camera: 'maintain-framerate' (smoother video for real-time communication)\n   * - Screen share: 'maintain-resolution' (clarity is critical for text/UI)\n   * - Other/unknown: 'balanced'\n   */\n  degradationPreference?: RTCDegradationPreference;\n\n  /**\n   * Up to two additional simulcast layers to publish in addition to the original\n   * Track.\n   * When left blank, it defaults to h180, h360.\n   * If a SVC codec is used (VP9 or AV1), this field has no effect.\n   *\n   * To publish three total layers, you would specify:\n   * {\n   *   videoEncoding: {...}, // encoding of the primary layer\n   *   videoSimulcastLayers: [\n   *     VideoPresets.h540,\n   *     VideoPresets.h216,\n   *   ],\n   * }\n   */\n  videoSimulcastLayers?: Array<VideoPreset>;\n\n  /**\n   * custom video simulcast layers for screen tracks\n   * Note: the layers need to be ordered from lowest to highest quality\n   */\n  screenShareSimulcastLayers?: Array<VideoPreset>;\n\n  /**\n   * For local tracks, stop the underlying MediaStreamTrack when the track is muted (or paused)\n   * on some platforms, this option is necessary to disable the microphone recording indicator.\n   * Note: when this is enabled, and BT devices are connected, they will transition between\n   * profiles (e.g. HFP to A2DP) and there will be an audible difference in playback.\n   *\n   * defaults to false\n   */\n  stopMicTrackOnMute?: boolean;\n\n  /**\n   * Enables preconnect buffer for a user's microphone track.\n   * This is useful for reducing perceived latency when the user starts to speak before the connection is established.\n   * Only works for agent use cases.\n   *\n   * Defaults to false.\n   */\n  preConnectBuffer?: boolean;\n\n  /**\n   * Frame metadata to append to published video frames.\n   *\n   * Requires either room-level frame metadata worker configuration or E2EE,\n   * because encoded frame transforms are used to write the metadata.\n   *\n   * @experimental\n   */\n  frameMetadata?: FrameMetadataPublishOptions;\n}\n\n/**\n * Options when publishing tracks\n */\nexport interface TrackPublishOptions extends TrackPublishDefaults {\n  /**\n   * set a track name\n   */\n  name?: string;\n\n  /**\n   * Source of track, camera, microphone, or screen\n   */\n  source?: Track.Source;\n\n  /**\n   * Set stream name for the track. Audio and video tracks with the same stream name\n   * will be placed in the same `MediaStream` and offer better synchronization.\n   * By default, camera and microphone will be placed in a stream; as would screen_share and screen_share_audio\n   */\n  stream?: string;\n}\n\nexport interface CreateLocalTracksOptions {\n  /**\n   * audio track options, true to create with defaults. false if audio shouldn't be created\n   * default true\n   */\n  audio?: boolean | AudioCaptureOptions;\n\n  /**\n   * video track options, true to create with defaults. false if video shouldn't be created\n   * default true\n   */\n  video?: boolean | VideoCaptureOptions;\n}\n\nexport interface VideoCaptureOptions {\n  /**\n   * A ConstrainDOMString object specifying a device ID or an array of device\n   * IDs which are acceptable and/or required.\n   */\n  deviceId?: ConstrainDOMString;\n\n  /**\n   * A ConstrainDouble specifying the frame rate or range of frame rates which are acceptable and/or required.\n   */\n  frameRate?: ConstrainDouble;\n\n  /**\n   * a facing or an array of facings which are acceptable and/or required.\n   */\n  facingMode?: 'user' | 'environment' | 'left' | 'right';\n\n  resolution?: VideoResolution;\n\n  /**\n   * initialize the track with a given processor\n   */\n  processor?: TrackProcessor<Track.Kind.Video, VideoProcessorOptions>;\n}\n\nexport interface ScreenShareCaptureOptions {\n  /**\n   * true to capture audio shared. browser support for audio capturing in\n   * screenshare is limited: https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getDisplayMedia#browser_compatibility\n   */\n  audio?: boolean | AudioCaptureOptions;\n\n  /**\n   * only allows for 'true' and chrome allows for additional options to be passed in\n   * https://developer.chrome.com/docs/web-platform/screen-sharing-controls/#displaySurface\n   */\n  video?: true | { displaySurface?: 'window' | 'browser' | 'monitor' };\n\n  /**\n   * capture resolution, defaults to 1080 for all browsers other than Safari\n   * On Safari 17, default resolution is not capped, due to a bug, specifying\n   * any resolution at all would lead to a low-resolution capture.\n   * https://bugs.webkit.org/show_bug.cgi?id=263015\n   */\n  resolution?: VideoResolution;\n\n  /** a CaptureController object instance containing methods that can be used to further manipulate the capture session if included. */\n  controller?: unknown; // TODO replace type with CaptureController once it lands in TypeScript\n\n  /** specifies whether the browser should allow the user to select the current tab for capture */\n  selfBrowserSurface?: 'include' | 'exclude';\n\n  /** specifies whether the browser should display a control to allow the user to dynamically switch the shared tab during screen-sharing. */\n  surfaceSwitching?: 'include' | 'exclude';\n\n  /** specifies whether the browser should include the system audio among the possible audio sources offered to the user */\n  systemAudio?: 'include' | 'exclude';\n\n  /** specify the type of content, see: https://www.w3.org/TR/mst-content-hint/#video-content-hints */\n  contentHint?: 'detail' | 'text' | 'motion';\n\n  /**\n   * Experimental option to control whether the audio playing in a tab will continue to be played out of a user's\n   * local speakers when the tab is captured.\n   */\n  suppressLocalAudioPlayback?: boolean;\n\n  /**\n   * Experimental option to instruct the browser to offer the current tab as the most prominent capture source\n   * @experimental\n   * @see https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getDisplayMedia#prefercurrenttab\n   */\n  preferCurrentTab?: boolean;\n}\n\nexport interface AudioCaptureOptions {\n  /**\n   * specifies whether automatic gain control is preferred and/or required\n   */\n  autoGainControl?: ConstrainBoolean;\n\n  /**\n   * the channel count or range of channel counts which are acceptable and/or required\n   */\n  channelCount?: ConstrainULong;\n\n  /**\n   * A ConstrainDOMString object specifying a device ID or an array of device\n   * IDs which are acceptable and/or required.\n   */\n  deviceId?: ConstrainDOMString;\n\n  /**\n   * whether or not echo cancellation is preferred and/or required\n   */\n  echoCancellation?: ConstrainBoolean;\n\n  /**\n   * the latency or range of latencies which are acceptable and/or required.\n   */\n  latency?: ConstrainDouble;\n\n  /**\n   * whether noise suppression is preferred and/or required.\n   */\n  noiseSuppression?: ConstrainBoolean;\n\n  /**\n   * @experimental\n   * a stronger version of 'noiseSuppression', browser support is not widespread yet.\n   * If this is set (and supported) the value for 'noiseSuppression' will be ignored\n   * @see https://w3c.github.io/mediacapture-extensions/#voiceisolation-constraint\n   */\n  voiceIsolation?: ConstrainBoolean;\n\n  /**\n   * @experimental\n   * when capturing system/screen-share audio, excludes the local participant's own audio\n   * from the captured stream to prevent echo. Browser support is not widespread yet\n   * (as of mid 2026, Chromium-based browsers only).\n   * @see https://developer.mozilla.org/en-US/docs/Web/API/MediaTrackConstraints/restrictOwnAudio\n   */\n  restrictOwnAudio?: ConstrainBoolean;\n\n  /**\n   * the sample rate or range of sample rates which are acceptable and/or required.\n   */\n  sampleRate?: ConstrainULong;\n\n  /**\n   * sample size or range of sample sizes which are acceptable and/or required.\n   */\n  sampleSize?: ConstrainULong;\n\n  /**\n   * initialize the track with a given processor\n   */\n  processor?: TrackProcessor<Track.Kind.Audio, AudioProcessorOptions>;\n}\n\nexport interface AudioOutputOptions {\n  /**\n   * deviceId to output audio\n   *\n   * Only supported on browsers where `setSinkId` is available\n   */\n  deviceId?: string;\n}\n\nexport interface VideoResolution {\n  width: number;\n  height: number;\n  frameRate?: number;\n  aspectRatio?: number;\n}\n\nexport interface VideoEncoding {\n  maxBitrate: number;\n  maxFramerate?: number;\n  priority?: RTCPriorityType;\n}\n\nexport interface VideoPresetOptions {\n  width: number;\n  height: number;\n  aspectRatio?: number;\n  maxBitrate: number;\n  maxFramerate?: number;\n  priority?: RTCPriorityType;\n}\n\nexport class VideoPreset {\n  encoding: VideoEncoding;\n\n  width: number;\n\n  height: number;\n\n  aspectRatio?: number;\n\n  constructor(videoPresetOptions: VideoPresetOptions);\n  constructor(\n    width: number,\n    height: number,\n    maxBitrate: number,\n    maxFramerate?: number,\n    priority?: RTCPriorityType,\n  );\n  constructor(\n    widthOrOptions: number | VideoPresetOptions,\n    height?: number,\n    maxBitrate?: number,\n    maxFramerate?: number,\n    priority?: RTCPriorityType,\n  ) {\n    if (typeof widthOrOptions === 'object') {\n      this.width = widthOrOptions.width;\n      this.height = widthOrOptions.height;\n      this.aspectRatio = widthOrOptions.aspectRatio;\n      this.encoding = {\n        maxBitrate: widthOrOptions.maxBitrate,\n        maxFramerate: widthOrOptions.maxFramerate,\n        priority: widthOrOptions.priority,\n      };\n    } else if (height !== undefined && maxBitrate !== undefined) {\n      this.width = widthOrOptions;\n      this.height = height;\n      this.aspectRatio = widthOrOptions / height;\n      this.encoding = {\n        maxBitrate,\n        maxFramerate,\n        priority,\n      };\n    } else {\n      throw new TypeError('Unsupported options: provide at least width, height and maxBitrate');\n    }\n  }\n\n  get resolution(): VideoResolution {\n    return {\n      width: this.width,\n      height: this.height,\n      frameRate: this.encoding.maxFramerate,\n      aspectRatio: this.aspectRatio,\n    };\n  }\n}\n\nexport interface AudioPreset {\n  maxBitrate: number;\n  priority?: RTCPriorityType;\n}\n\n// `red` is not technically a codec, but treated as one in signalling protocol\nexport const audioCodecs = ['opus', 'red'] as const;\n\nexport type AudioCodec = (typeof audioCodecs)[number];\n\nconst backupVideoCodecs = ['vp8', 'h264'] as const;\n\nexport const videoCodecs = ['vp8', 'h264', 'vp9', 'av1', 'h265'] as const;\n\nexport type VideoCodec = (typeof videoCodecs)[number];\n\nexport type BackupVideoCodec = (typeof backupVideoCodecs)[number];\n\nexport function isBackupVideoCodec(codec: string): codec is BackupVideoCodec {\n  return !!backupVideoCodecs.find((backup) => backup === codec);\n}\n\nexport enum BackupCodecPolicy {\n  // codec regression is preferred, the sfu will try to regress codec if possible but not guaranteed\n  PREFER_REGRESSION = 0,\n  // multi-codec simulcast, publish both primary and backup codec at the same time\n  SIMULCAST = 1,\n  // always use backup codec only\n  REGRESSION = 2,\n}\n\n/**\n * scalability modes for svc.\n */\nexport type ScalabilityMode =\n  | 'L1T1'\n  | 'L1T2'\n  | 'L1T3'\n  | 'L2T1'\n  | 'L2T1h'\n  | 'L2T1_KEY'\n  | 'L2T2'\n  | 'L2T2h'\n  | 'L2T2_KEY'\n  | 'L2T3'\n  | 'L2T3h'\n  | 'L2T3_KEY'\n  | 'L3T1'\n  | 'L3T1h'\n  | 'L3T1_KEY'\n  | 'L3T2'\n  | 'L3T2h'\n  | 'L3T2_KEY'\n  | 'L3T3'\n  | 'L3T3h'\n  | 'L3T3_KEY';\n\nexport namespace AudioPresets {\n  export const telephone: AudioPreset = {\n    maxBitrate: 12_000,\n  };\n  export const speech: AudioPreset = {\n    maxBitrate: 24_000,\n  };\n  export const music: AudioPreset = {\n    maxBitrate: 48_000,\n  };\n  export const musicStereo: AudioPreset = {\n    maxBitrate: 64_000,\n  };\n  export const musicHighQuality: AudioPreset = {\n    maxBitrate: 96_000,\n  };\n  export const musicHighQualityStereo: AudioPreset = {\n    maxBitrate: 128_000,\n  };\n}\n\n/**\n * Sane presets for video resolution/encoding\n */\nexport const VideoPresets = {\n  h90: /* @__PURE__ */ new VideoPreset(160, 90, 90_000, 20),\n  h180: /* @__PURE__ */ new VideoPreset(320, 180, 160_000, 20),\n  h216: /* @__PURE__ */ new VideoPreset(384, 216, 180_000, 20),\n  h360: /* @__PURE__ */ new VideoPreset(640, 360, 450_000, 20),\n  h540: /* @__PURE__ */ new VideoPreset(960, 540, 800_000, 25),\n  h720: /* @__PURE__ */ new VideoPreset(1280, 720, 1_700_000, 30),\n  h1080: /* @__PURE__ */ new VideoPreset(1920, 1080, 3_000_000, 30),\n  h1440: /* @__PURE__ */ new VideoPreset(2560, 1440, 5_000_000, 30),\n  h2160: /* @__PURE__ */ new VideoPreset(3840, 2160, 8_000_000, 30),\n} as const;\n\n/**\n * Four by three presets\n */\nexport const VideoPresets43 = {\n  h120: /* @__PURE__ */ new VideoPreset(160, 120, 70_000, 20),\n  h180: /* @__PURE__ */ new VideoPreset(240, 180, 125_000, 20),\n  h240: /* @__PURE__ */ new VideoPreset(320, 240, 140_000, 20),\n  h360: /* @__PURE__ */ new VideoPreset(480, 360, 330_000, 20),\n  h480: /* @__PURE__ */ new VideoPreset(640, 480, 500_000, 20),\n  h540: /* @__PURE__ */ new VideoPreset(720, 540, 600_000, 25),\n  h720: /* @__PURE__ */ new VideoPreset(960, 720, 1_300_000, 30),\n  h1080: /* @__PURE__ */ new VideoPreset(1440, 1080, 2_300_000, 30),\n  h1440: /* @__PURE__ */ new VideoPreset(1920, 1440, 3_800_000, 30),\n} as const;\n\nexport const ScreenSharePresets = {\n  h360fps3: /* @__PURE__ */ new VideoPreset(640, 360, 200_000, 3, 'medium'),\n  h360fps15: /* @__PURE__ */ new VideoPreset(640, 360, 400_000, 15, 'medium'),\n  h720fps5: /* @__PURE__ */ new VideoPreset(1280, 720, 800_000, 5, 'medium'),\n  h720fps15: /* @__PURE__ */ new VideoPreset(1280, 720, 1_500_000, 15, 'medium'),\n  h720fps30: /* @__PURE__ */ new VideoPreset(1280, 720, 2_000_000, 30, 'medium'),\n  h1080fps15: /* @__PURE__ */ new VideoPreset(1920, 1080, 2_500_000, 15, 'medium'),\n  h1080fps30: /* @__PURE__ */ new VideoPreset(1920, 1080, 5_000_000, 30, 'medium'),\n  // original resolution, without resizing\n  original: /* @__PURE__ */ new VideoPreset(0, 0, 7_000_000, 30, 'medium'),\n} as const;\n"],"names":["VideoPreset","constructor","widthOrOptions","height","maxBitrate","maxFramerate","priority","width","aspectRatio","encoding","undefined","TypeError","resolution","frameRate","audioCodecs","backupVideoCodecs","videoCodecs","isBackupVideoCodec","codec","find","backup","BackupCodecPolicy","AudioPresets","telephone","speech","music","musicStereo","musicHighQuality","musicHighQualityStereo","VideoPresets","h90","h180","h216","h360","h540","h720","h1080","h1440","h2160","VideoPresets43","h120","h240","h480","ScreenSharePresets","h360fps3","h360fps15","h720fps5","h720fps15","h720fps30","h1080fps15","h1080fps30","original"],"mappings":"MAwWaA,WAAW,CAAA;EAiBtBC,WAAAA,CACEC,cAA2C,EAC3CC,MA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