summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-03-30 15:20:46 +0200
committerJoas Schilling <coding@schilljs.com>2020-03-30 15:29:15 +0200
commit7e743283bc1ee37f07fb60f4487c1d64eabb13ce (patch)
tree133ac3854439809895de2c9d412f4008ec610836
parent13a7e4d3e1cd92700e65526b3e67a9c025425f61 (diff)
Add debug log
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r--src/utils/webrtc/webrtc.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/utils/webrtc/webrtc.js b/src/utils/webrtc/webrtc.js
index 367b8aeb1..26946f3e2 100644
--- a/src/utils/webrtc/webrtc.js
+++ b/src/utils/webrtc/webrtc.js
@@ -241,6 +241,8 @@ function usersChanged(signaling, newUsers, disconnectedSessionIds) {
console.debug('No offer nor answer received, sending offer again')
createPeer()
}, 10000)
+ } else {
+ console.debug('User has no streams, not sending another offer')
}
}