From ec742eacdb0c670df2af6087b41c275782202530 Mon Sep 17 00:00:00 2001 From: Juliusz Chroboczek Date: Thu, 13 Aug 2020 12:16:05 +0200 Subject: [PATCH] Fix typo in renegotiation. --- static/sfu.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/sfu.js b/static/sfu.js index 19d3988..7403026 100644 --- a/static/sfu.js +++ b/static/sfu.js @@ -652,7 +652,7 @@ function serverConnect() { gotAnswer(m.id, m.answer); break; case 'renegotiate': - let c = up[id]; + let c = up[m.id]; if(c) { try { c.pc.restartIce()