diff options
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); |