We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 234268b + adc5be6 commit fd71cb8Copy full SHA for fd71cb8
p2p-video-chat-webrtc/index.js
@@ -1,4 +1,5 @@
1
-navigator.webkitGetUserMedia({ video: true, audio: false }, function (stream) {
+navigator.getMedia=navigator.getUserMedia||navigator.webkitGetUserMedia||navigator.mozGetUserMedia||navigator.msGetUserMedia;
2
+navigator.getMedia({ video: true, audio: false }, function (stream) {
3
var Peer = require('simple-peer')
4
var peer = new Peer({
5
initiator: location.hash === '#init',
0 commit comments