diff options
author | Mohammad Amoush <mohammad_amoush@brown.edu> | 2019-10-02 17:59:40 -0400 |
---|---|---|
committer | Mohammad Amoush <mohammad_amoush@brown.edu> | 2019-10-02 17:59:40 -0400 |
commit | 5313f132f1f72d68418cf0072dae3038a76a7d90 (patch) | |
tree | 739aa7a96bb5f3bd6ec99594391b7bb9dda20c6d /src | |
parent | 6dab9e4067b2763d23e41085b263fed811d71a86 (diff) |
quick fix
Diffstat (limited to 'src')
-rw-r--r-- | src/client/views/webcam/DashWebRTC.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/webcam/DashWebRTC.tsx b/src/client/views/webcam/DashWebRTC.tsx index 64ddb318f..63b938d7e 100644 --- a/src/client/views/webcam/DashWebRTC.tsx +++ b/src/client/views/webcam/DashWebRTC.tsx @@ -38,7 +38,7 @@ export class DashWebRTC extends React.Component<CollectionFreeFormDocumentViewPr componentDidMount() { this.callButton!.disabled = true; this.hangupButton!.disabled = true; - navigator.mediaDevices.getUserMedia(mediaStreamConstraints).then(this.gotLocalMediaStream).catch(this.handleLocalMediaStreamError); + // navigator.mediaDevices.getUserMedia(mediaStreamConstraints).then(this.gotLocalMediaStream).catch(this.handleLocalMediaStreamError); this.localVideoEl!.addEventListener('loadedmetadata', this.logVideoLoaded); this.peerVideoEl!.addEventListener('loadedmetadata', this.logVideoLoaded); this.peerVideoEl!.addEventListener('onresize', this.logResizedVideo); |