Fix crash when screen sharing is running

auto_join_3.3
Roman Drozd 2020-05-20 00:09:44 +02:00
parent b430802b76
commit 014c805530
2 changed files with 2 additions and 2 deletions

View File

@ -939,7 +939,7 @@ export default withRoomContext(connect(
Math.round(next.peerVolumes[next.me.id]) && Math.round(next.peerVolumes[next.me.id]) &&
prev.peers === next.peers && prev.peers === next.peers &&
prev.producers === next.producers && prev.producers === next.producers &&
prev.settings === next.settings, prev.settings === next.settings &&
prev.transports === next.transports prev.transports === next.transports
); );
} }

View File

@ -305,7 +305,7 @@ class VideoView extends React.PureComponent
</React.Fragment> </React.Fragment>
} }
{ isMe && { isMe && !isScreen &&
(netInfo.recv && netInfo.send && netInfo.send.iceSelectedTuple) && (netInfo.recv && netInfo.send && netInfo.send.iceSelectedTuple) &&
<React.Fragment> <React.Fragment>
<span className={'RecvL'}>Recv: </span> <span className={'RecvL'}>Recv: </span>