Skip to content

Commit

Permalink
Don't enqueue 'undefined' on the TransformStream if _decryptFrame fai…
Browse files Browse the repository at this point in the history
…ls. (jitsi#2376)
  • Loading branch information
JonathanLennox authored and subhamcyara committed Jul 19, 2024
1 parent 62590cb commit 8e337be
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion modules/e2ee/Context.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,9 @@ export class Context {
encodedFrame,
keyIndex);

return controller.enqueue(decodedFrame);
if (decodedFrame) {
controller.enqueue(decodedFrame);
}
}
}

Expand Down

0 comments on commit 8e337be

Please sign in to comment.