diff options
Diffstat (limited to 'public/scripts')
-rw-r--r-- | public/scripts/chat.js | 1 | ||||
-rw-r--r-- | public/scripts/main.js | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/public/scripts/chat.js b/public/scripts/chat.js index 87b6589..056dc09 100644 --- a/public/scripts/chat.js +++ b/public/scripts/chat.js @@ -183,7 +183,6 @@ function chat() { } function getMediaStream(callback) { - navigator.getUserMedia = navigator.getUserMedia || navigator.webkitGetUserMedia || navigator.mozGetUserMedia; navigator.getUserMedia( {audio: true, video: {width: 1280, height: 720}}, stream => callback(stream), diff --git a/public/scripts/main.js b/public/scripts/main.js index 0d1ac3a..ff904dd 100644 --- a/public/scripts/main.js +++ b/public/scripts/main.js @@ -9,6 +9,7 @@ * This file only pulls all dependencies together * so it is compileable by browserify */ +require('webrtc-adapter/dist/adapter_core'); require('@fortawesome/fontawesome-free/js/all.min'); require('./peer'); require('./chat'); |