diff --git a/js/simplewebrtc.js b/js/simplewebrtc.js index 75923f8b1..d4639bd4c 100644 --- a/js/simplewebrtc.js +++ b/js/simplewebrtc.js @@ -18024,7 +18024,7 @@ this.webrtc = new WebRTC(opts); // attach a few methods from underlying lib to simple. - ['mute', 'unmute', 'pauseVideo', 'resumeVideo', 'pause', 'resume', 'sendToAll', 'sendDirectlyToAll', 'getPeers'].forEach(function (method) { + ['mute', 'unmute', 'pauseVideo', 'resumeVideo', 'pause', 'resume', 'sendToAll', 'sendDirectlyToAll', 'getPeers', 'createPeer', 'removePeers'].forEach(function (method) { self[method] = self.webrtc[method].bind(self.webrtc); });