livekit-client 1.13.2 → 1.13.3
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 +1 -0
- package/dist/livekit-client.e2ee.worker.mjs.map +1 -1
- package/dist/livekit-client.esm.mjs +51 -24
- 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/worker/FrameCryptor.d.ts.map +1 -1
- package/dist/src/room/participant/LocalParticipant.d.ts +6 -2
- package/dist/src/room/participant/LocalParticipant.d.ts.map +1 -1
- package/dist/src/room/participant/Participant.d.ts +5 -3
- package/dist/src/room/participant/Participant.d.ts.map +1 -1
- package/dist/src/room/utils.d.ts +1 -1
- package/dist/ts4.2/src/room/participant/LocalParticipant.d.ts +6 -2
- package/dist/ts4.2/src/room/participant/Participant.d.ts +5 -3
- package/dist/ts4.2/src/room/utils.d.ts +1 -1
- package/package.json +15 -15
- package/src/e2ee/worker/FrameCryptor.ts +4 -0
- package/src/room/participant/LocalParticipant.ts +7 -5
- package/src/room/participant/Participant.ts +7 -5
- package/src/room/track/options.ts +1 -1
- package/src/room/utils.ts +2 -2
@@ -1098,6 +1098,7 @@ class FrameCryptor extends BaseFrameCryptor {
|
|
1098
1098
|
if (isFrameServerInjected(encodedFrame.data, this.sifTrailer)) {
|
1099
1099
|
this.sifGuard.recordSif();
|
1100
1100
|
if (this.sifGuard.isSifAllowed()) {
|
1101
|
+
encodedFrame.data = encodedFrame.data.slice(0, encodedFrame.data.byteLength - this.sifTrailer.byteLength);
|
1101
1102
|
return controller.enqueue(encodedFrame);
|
1102
1103
|
} else {
|
1103
1104
|
workerLogger.warn('SIF limit reached, dropping frame');
|