From 6c5a30109430c561c737dd816b3711fafdc8bffb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0imon=20Brandner?= Date: Wed, 17 Mar 2021 16:10:50 +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 4ad41b322e..2b75ba73da 100644 --- a/src/components/views/voip/VideoFeed.tsx +++ b/src/components/views/voip/VideoFeed.tsx @@ -117,6 +117,7 @@ export default class VideoFeed extends React.Component { this.setState({ audioOnly: this.props.feed.isAudioOnly()}); const currentMedia = this.getCurrentMedia(); currentMedia.srcObject = newStream; + currentMedia.play(); } onResize = (e) => {