livekit-client 2.6.1 → 2.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11176,7 +11176,7 @@ function getOSVersion(ua) {
11176
11176
  return ua.includes('mac os') ? getMatch(/\(.+?(\d+_\d+(:?_\d+)?)/, ua, 1).replace(/_/g, '.') : undefined;
11177
11177
  }
11178
11178
 
11179
- var version$1 = "2.6.1";
11179
+ var version$1 = "2.6.2";
11180
11180
 
11181
11181
  const version = version$1;
11182
11182
  const protocolVersion = 15;
@@ -12488,6 +12488,13 @@ class LocalTrack extends Track {
12488
12488
  var _a, _b;
12489
12489
  return (_b = (_a = this.processor) === null || _a === void 0 ? void 0 : _a.processedTrack) !== null && _b !== void 0 ? _b : this._mediaStreamTrack;
12490
12490
  }
12491
+ /**
12492
+ * @internal
12493
+ * returns mediaStreamTrack settings of the capturing mediastreamtrack source - ignoring processors
12494
+ */
12495
+ getSourceTrackSettings() {
12496
+ return this._mediaStreamTrack.getSettings();
12497
+ }
12491
12498
  setMediaStreamTrack(newTrack, force) {
12492
12499
  return __awaiter(this, void 0, void 0, function* () {
12493
12500
  if (newTrack === this._mediaStreamTrack && !force) {
@@ -18798,7 +18805,7 @@ class LocalTrackPublication extends TrackPublication {
18798
18805
  getTrackFeatures() {
18799
18806
  var _a;
18800
18807
  if (this.track instanceof LocalAudioTrack) {
18801
- const settings = this.track.mediaStreamTrack.getSettings();
18808
+ const settings = this.track.getSourceTrackSettings();
18802
18809
  const features = new Set();
18803
18810
  if (settings.autoGainControl) {
18804
18811
  features.add(AudioTrackFeature.TF_AUTO_GAIN_CONTROL);