Skip to content
This repository was archived by the owner on May 13, 2024. It is now read-only.

Commit 1af574b

Browse files
authored
Merge pull request #657 from fippo/fix-loopback
fix sdes loopback more
2 parents 0941175 + 7ed2094 commit 1af574b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/web_app/js/loopback.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,9 @@ function setupLoopback(wssUrl, roomId) {
7070
// this line but for loopback where we reuse the offer, that is skipped
7171
// and remains in the answer and breaks the call.
7272
// https://bugs.chromium.org/p/chromium/issues/detail?id=616263
73+
// https://bugs.chromium.org/p/chromium/issues/detail?id=1077740
7374
loopbackAnswer = loopbackAnswer
74-
.replace(/a=crypto:0 AES_CM_128_HMAC_SHA1_32\sinline:.{44}/, '');
75+
.replace(/a=crypto:[1-9]+ .*/g, '');
7576
sendLoopbackMessage(JSON.parse(loopbackAnswer));
7677
} else if (message.type === 'candidate') {
7778
sendLoopbackMessage(message);

0 commit comments

Comments
 (0)