aboutsummaryrefslogtreecommitdiffhomepage
path: root/public/scripts/chat.js
diff options
context:
space:
mode:
authorMarvin Borner2019-01-28 21:53:39 +0100
committerMarvin Borner2019-01-28 21:53:39 +0100
commitf4bc9e771b5f79ff95ed2069b9c1402679241ddb (patch)
tree3603f48d1437e296778d4ec22487da63c4f38a62 /public/scripts/chat.js
parentf323eadd5d895424211b05691afda3969fd528f0 (diff)
Added webrtc polyfill
Diffstat (limited to 'public/scripts/chat.js')
-rw-r--r--public/scripts/chat.js1
1 files changed, 0 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),