From 522ecf873e0b565bc3e73b6dc51c187442f2669c Mon Sep 17 00:00:00 2001 From: Roman Drozd Date: Wed, 20 May 2020 19:48:31 +0200 Subject: [PATCH 1/2] Fix crash when extra video is running --- app/src/components/Containers/Me.js | 1 + app/src/components/VideoContainers/VideoView.js | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/src/components/Containers/Me.js b/app/src/components/Containers/Me.js index a302dad..1be14c8 100644 --- a/app/src/components/Containers/Me.js +++ b/app/src/components/Containers/Me.js @@ -817,6 +817,7 @@ const Me = (props) => } - { isMe && !isScreen && + { isMe && !isScreen && !isExtraVideo && (netInfo.recv && netInfo.send && netInfo.send.iceSelectedTuple) && Recv: From e3014749067aa599c04d28ff985bcfa1bca44b44 Mon Sep 17 00:00:00 2001 From: Roman Drozd Date: Wed, 20 May 2020 19:53:21 +0200 Subject: [PATCH 2/2] Add missing isExtraVideo props validation --- app/src/components/VideoContainers/VideoView.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/components/VideoContainers/VideoView.js b/app/src/components/VideoContainers/VideoView.js index b92738f..987a4a0 100644 --- a/app/src/components/VideoContainers/VideoView.js +++ b/app/src/components/VideoContainers/VideoView.js @@ -534,8 +534,9 @@ class VideoView extends React.PureComponent VideoView.propTypes = { isMe : PropTypes.bool, - showQuality : PropTypes.bool, isScreen : PropTypes.bool, + isExtraVideo : PropTypes.bool, + showQuality : PropTypes.bool, displayName : PropTypes.string, showPeerInfo : PropTypes.bool, videoContain : PropTypes.bool,