Mute stream by default for autoplay (#127)
This commit is contained in:
@ -49,6 +49,7 @@ export const Stream = () => {
|
||||
if (videoRef.current) {
|
||||
videoRef.current.srcObject = event.streams[0]
|
||||
videoRef.current.autoplay = true
|
||||
videoRef.current.muted = true
|
||||
videoRef.current.controls = false
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user