Skip to content

Commit

Permalink
Fix DTX and stereo feature reporting (#1281)
Browse files Browse the repository at this point in the history
* Fix DTX and stereo feature reporting

* Create weak-llamas-poke.md
  • Loading branch information
lukasIO authored Oct 9, 2024
1 parent 6d77449 commit ee7ddcf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/weak-llamas-poke.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"livekit-client": patch
---

Fix DTX and stereo feature reporting
2 changes: 1 addition & 1 deletion src/room/track/LocalTrackPublication.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit ee7ddcf

Please sign in to comment.