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 | |
parent | 6dab9e4067b2763d23e41085b263fed811d71a86 (diff) |
quick fix
-rw-r--r-- | package.json | 2 | ||||
-rw-r--r-- | src/client/views/webcam/DashWebRTC.tsx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/package.json b/package.json index 95099c0e0..60d03cd9e 100644 --- a/package.json +++ b/package.json @@ -226,4 +226,4 @@ "xoauth2": "^1.2.0", "youtube": "^0.1.0" } -}
\ No newline at end of file +} 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); |