diff --git a/static/js/index.js b/static/js/index.js index e1f40fc9..6e7b0873 100644 --- a/static/js/index.js +++ b/static/js/index.js @@ -1208,7 +1208,7 @@ exports.rtc = new class { type: 'STATS', data: {statName, type: 'RTC_MESSAGE'}, }; - this._pad.socket.json.send(msg); + this._pad.socket.emit('message', msg); } sendMessage(to, data) {