From 39818c5c9383f47d0b3e1e466df780c95c505eb3 Mon Sep 17 00:00:00 2001 From: Ivan Sein Date: Thu, 9 Feb 2017 13:02:12 +0100 Subject: [PATCH] Add 'createPeer' and 'removePeers' methods from underlying library. Signed-off-by: Ivan Sein --- js/simplewebrtc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); });