Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix sdes loopback more #657

Merged
merged 1 commit into from Jun 16, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/web_app/js/loopback.js
Expand Up @@ -70,8 +70,9 @@ function setupLoopback(wssUrl, roomId) {
// this line but for loopback where we reuse the offer, that is skipped
// and remains in the answer and breaks the call.
// https://bugs.chromium.org/p/chromium/issues/detail?id=616263
// https://bugs.chromium.org/p/chromium/issues/detail?id=1077740
loopbackAnswer = loopbackAnswer
.replace(/a=crypto:0 AES_CM_128_HMAC_SHA1_32\sinline:.{44}/, '');
.replace(/a=crypto:[1-9]+ .*/g, '');
sendLoopbackMessage(JSON.parse(loopbackAnswer));
} else if (message.type === 'candidate') {
sendLoopbackMessage(message);
Expand Down