livekit-client 2.0.8 → 2.0.9
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/livekit-client.e2ee.worker.js +1 -1
- package/dist/livekit-client.e2ee.worker.js.map +1 -1
- package/dist/livekit-client.e2ee.worker.mjs +6 -6
- package/dist/livekit-client.e2ee.worker.mjs.map +1 -1
- package/dist/livekit-client.esm.mjs +7 -5
- package/dist/livekit-client.esm.mjs.map +1 -1
- package/dist/livekit-client.umd.js +1 -1
- package/dist/livekit-client.umd.js.map +1 -1
- package/dist/src/e2ee/constants.d.ts +0 -1
- package/dist/src/e2ee/constants.d.ts.map +1 -1
- package/dist/src/e2ee/types.d.ts +1 -0
- package/dist/src/e2ee/types.d.ts.map +1 -1
- package/dist/src/e2ee/worker/ParticipantKeyHandler.d.ts.map +1 -1
- package/dist/src/room/RTCEngine.d.ts.map +1 -1
- package/dist/ts4.2/src/e2ee/constants.d.ts +0 -1
- package/dist/ts4.2/src/e2ee/types.d.ts +1 -0
- package/package.json +1 -1
- package/src/e2ee/constants.ts +1 -5
- package/src/e2ee/types.ts +1 -0
- package/src/e2ee/worker/ParticipantKeyHandler.ts +4 -2
- package/src/room/RTCEngine.ts +4 -3
@@ -12538,7 +12538,8 @@ const KEY_PROVIDER_DEFAULTS = {
|
|
12538
12538
|
sharedKey: false,
|
12539
12539
|
ratchetSalt: SALT,
|
12540
12540
|
ratchetWindowSize: 8,
|
12541
|
-
failureTolerance: DECRYPTION_FAILURE_TOLERANCE
|
12541
|
+
failureTolerance: DECRYPTION_FAILURE_TOLERANCE,
|
12542
|
+
keyringSize: 16
|
12542
12543
|
};
|
12543
12544
|
|
12544
12545
|
var KeyProviderEvent;
|
@@ -13473,7 +13474,7 @@ function getMatch(exp, ua) {
|
|
13473
13474
|
return match && match.length >= id && match[id] || '';
|
13474
13475
|
}
|
13475
13476
|
|
13476
|
-
var version$1 = "2.0.
|
13477
|
+
var version$1 = "2.0.9";
|
13477
13478
|
|
13478
13479
|
const version = version$1;
|
13479
13480
|
const protocolVersion = 12;
|
@@ -18175,12 +18176,13 @@ class RTCEngine extends eventsExports.EventEmitter {
|
|
18175
18176
|
this.reliableDC.onbufferedamountlow = this.handleBufferedAmountLow;
|
18176
18177
|
}
|
18177
18178
|
setPreferredCodec(transceiver, kind, videoCodec) {
|
18178
|
-
if (!('getCapabilities' in
|
18179
|
+
if (!('getCapabilities' in RTCRtpReceiver)) {
|
18179
18180
|
return;
|
18180
18181
|
}
|
18181
|
-
|
18182
|
+
// when setting codec preferences, the capabilites need to be read from the RTCRtpReceiver
|
18183
|
+
const cap = RTCRtpReceiver.getCapabilities(kind);
|
18182
18184
|
if (!cap) return;
|
18183
|
-
this.log.debug('get
|
18185
|
+
this.log.debug('get receiver capabilities', Object.assign(Object.assign({}, this.logContext), {
|
18184
18186
|
cap
|
18185
18187
|
}));
|
18186
18188
|
const matched = [];
|