Skip to content

Commit 644db17

Browse files
authored
Disable opus RED when using E2EE (#858)
* Disable opus RED when using E2EE * Create gorgeous-cameras-peel.md
1 parent cc3fabf commit 644db17

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/gorgeous-cameras-peel.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"livekit-client": patch
3+
---
4+
5+
Disable opus RED when using E2EE

src/room/participant/LocalParticipant.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,7 @@ export default class LocalParticipant extends Participant {
649649
disableDtx: !(opts.dtx ?? true),
650650
encryption: this.encryptionType,
651651
stereo: isStereo,
652-
disableRed: !(opts.red ?? true),
652+
disableRed: this.isE2EEEnabled || !(opts.red ?? true),
653653
});
654654

655655
// compute encodings and layers for video

0 commit comments

Comments
 (0)