Remove usage of deprecated mozilla api
This API is no longer working in the current Firefox version (69) There is also a similar discussion here: https://github.com/webrtc/samples/issues/302
This commit is contained in:
parent
92d61fdd53
commit
1142e7ac47
|
@ -233,11 +233,7 @@ function createSocket(address, name) {
|
|||
}
|
||||
|
||||
function umSuccess(stream) {
|
||||
if (vid.mozCaptureStream) {
|
||||
vid.mozSrcObject = stream;
|
||||
} else {
|
||||
vid.srcObject = stream;
|
||||
}
|
||||
vid.play();
|
||||
vidReady = true;
|
||||
sendFrameLoop();
|
||||
|
|
Loading…
Reference in New Issue