Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2020-04-02 16:48:57 +0300
committerGitHub <noreply@github.com>2020-04-02 16:48:57 +0300
commit43948dcd795cced21b5a0a0c7c4d9abf1253c148 (patch)
treec6323fdeb7f4d87fa6131f7c355634a2820eefac
parentd1ec16b40802f00853cb51d938532d6da4735ff2 (diff)
parent0a1f1266958274807b4e176c2c468c9e9dbc9593 (diff)
Merge pull request #3243 from nextcloud/backport/3242/stable18
[stable18] Fix "unknown message" log when receiving valid data channel messages
-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 8c329db9b..309d9d5ed 100644
--- a/src/utils/webrtc/webrtc.js
+++ b/src/utils/webrtc/webrtc.js
@@ -860,6 +860,8 @@ export default function initWebRTC(signaling, _callParticipantCollection) {
} else {
webrtc.emit('nick', { id: peer.id, name: payload.name, userid: payload.userid })
}
+ } else if (data.type === 'speaking' || data.type === 'stoppedSpeaking') {
+ // Valid known messages, but handled elsewhere
} else {
console.debug('Unknown message type %s from %s datachannel', data.type, label, data)
}