Skip to content

Commit bce6854

Browse files
authored
Support for data channel encryption on React-Native (#1678)
1 parent 653281f commit bce6854

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

.changeset/whole-pumas-bake.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+
Support for data channel encryption on React-Native

src/room/Room.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -370,6 +370,7 @@ class Room extends (EventEmitter as new () => TypedEmitter<RoomEventCallbacks>)
370370
if (e2eeOptions) {
371371
if ('e2eeManager' in e2eeOptions) {
372372
this.e2eeManager = e2eeOptions.e2eeManager;
373+
this.e2eeManager.isDataChannelEncryptionEnabled = dcEncryptionEnabled;
373374
} else {
374375
this.e2eeManager = new E2EEManager(e2eeOptions, dcEncryptionEnabled);
375376
}

0 commit comments

Comments
 (0)