aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSam Wilkins <35748010+samwilkins333@users.noreply.github.com>2020-02-11 19:17:44 -0500
committerGitHub <noreply@github.com>2020-02-11 19:17:44 -0500
commit6ae936260ac88860db4f060a0f3ae562a2d9ac66 (patch)
tree234a66aa4a5f85d8983d3763bc60057191d05657 /src
parente8a07be35081a50375ea25a29ba182d8bb4826e2 (diff)
parent98990f419c2316b17bd397f27f606396dfede684 (diff)
Merge pull request #341 from browngraphicslab/webcam_mohammad
muted local video audio
Diffstat (limited to 'src')
-rw-r--r--src/client/views/webcam/DashWebRTCVideo.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/webcam/DashWebRTCVideo.tsx b/src/client/views/webcam/DashWebRTCVideo.tsx
index 0eefbbc91..cbf75f708 100644
--- a/src/client/views/webcam/DashWebRTCVideo.tsx
+++ b/src/client/views/webcam/DashWebRTCVideo.tsx
@@ -70,7 +70,7 @@ export class DashWebRTCVideo extends React.Component<CollectionFreeFormDocumentV
<div className="webcam-cont" style={{ width: "100%", height: "100%" }} onWheel={this.onPostWheel} onPointerDown={this.onPostPointer} onPointerMove={this.onPostPointer} onPointerUp={this.onPostPointer}>
<div className="webcam-header">DashWebRTC</div>
<input id="roomName" type="text" placeholder="Enter room name" ref={(e) => this.roomText = e!} onKeyDown={this.onEnterKeyDown} />
- <video id="localVideo" className={"RTCVideo" + (this.remoteVideoAdded ? " side" : " main")} autoPlay playsInline ref={(e) => {
+ <video id="localVideo" className={"RTCVideo" + (this.remoteVideoAdded ? " side" : " main")} autoPlay playsInline muted ref={(e) => {
}}></video>
<video id="remoteVideo" className="RTCVideo main" autoPlay playsInline ref={(e) => {
}}></video>