Apply suggestion from @Johennes

This commit is contained in:
Johannes Marbach
2026-09-07 13:18:00 +02:00
committed by GitHub
parent eddd95ba41
commit 65e1b845a7

View File

@@ -243,7 +243,7 @@ export class Connection {
`Encryption status of ${p?.identity ?? "unknown participant"}: encrypted=${encrypted}`, `Encryption status of ${p?.identity ?? "unknown participant"}: encrypted=${encrypted}`,
); );
// livekit-client throttles these per cryptor; they indicate frames being // livekit-client throttles these per cryptor; they indicate frames being
// dropped (missing/invalid key), which is the other half of the picture. // dropped (missing/invalid key).
const onEncryptionError = (error: Error, p?: Participant): void => const onEncryptionError = (error: Error, p?: Participant): void =>
log.warn( log.warn(
`Encryption error for ${p?.identity ?? "unknown participant"}:`, `Encryption error for ${p?.identity ?? "unknown participant"}:`,