From ee7ddcff8604e5f1459b0d4d03ad9ad8253e4a22 Mon Sep 17 00:00:00 2001 From: lukasIO Date: Wed, 9 Oct 2024 10:03:02 +0200 Subject: [PATCH] Fix DTX and stereo feature reporting (#1281) * Fix DTX and stereo feature reporting * Create weak-llamas-poke.md --- .changeset/weak-llamas-poke.md | 5 +++++ src/room/track/LocalTrackPublication.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/weak-llamas-poke.md diff --git a/.changeset/weak-llamas-poke.md b/.changeset/weak-llamas-poke.md new file mode 100644 index 0000000000..afc3e0d679 --- /dev/null +++ b/.changeset/weak-llamas-poke.md @@ -0,0 +1,5 @@ +--- +"livekit-client": patch +--- + +Fix DTX and stereo feature reporting diff --git a/src/room/track/LocalTrackPublication.ts b/src/room/track/LocalTrackPublication.ts index 6165b09391..4873d28204 100644 --- a/src/room/track/LocalTrackPublication.ts +++ b/src/room/track/LocalTrackPublication.ts @@ -99,7 +99,7 @@ export default class LocalTrackPublication extends TrackPublication { features.add(AudioTrackFeature.TF_STEREO); } if (!this.options?.dtx) { - features.add(AudioTrackFeature.TF_STEREO); + features.add(AudioTrackFeature.TF_NO_DTX); } if (this.track.enhancedNoiseCancellation) { features.add(AudioTrackFeature.TF_ENHANCED_NOISE_CANCELLATION);