From ec824c714a5cfd443b00d1f7b2dbc6a3b5acbd39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0imon=20Brandner?= Date: Wed, 17 Mar 2021 16:09:58 +0100 Subject: [PATCH] Make sure video plays onNewStream MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Šimon Brandner --- src/components/views/voip/VideoFeed.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/views/voip/VideoFeed.tsx b/src/components/views/voip/VideoFeed.tsx index be674630b3..9874dd07df 100644 --- a/src/components/views/voip/VideoFeed.tsx +++ b/src/components/views/voip/VideoFeed.tsx @@ -89,6 +89,7 @@ export default class VideoFeed extends React.Component { this.setState({ audioOnly: this.props.feed.isAudioOnly()}); if (!this.vid.current) return; this.vid.current.srcObject = newStream; + this.vid.current.play(); } onResize = (e) => {