fix(rn,filmstrip) avoid "red" screen sharing tile

Mobile does not render screen-shares in tiles for performance reasons.
This coincidentally fixes the "red" tile that was attempted to be
rendered when the local partitipant started screen-sharing.
This commit is contained in:
Saúl Ibarra Corretgé 2022-08-29 20:26:15 +02:00 committed by Saúl Ibarra Corretgé
parent bebcc8234f
commit 5fbf741278
1 changed files with 1 additions and 1 deletions

View File

@ -387,7 +387,7 @@ class Thumbnail extends PureComponent<Props> {
: <> : <>
<ParticipantView <ParticipantView
avatarSize = { tileView ? AVATAR_SIZE * 1.5 : AVATAR_SIZE } avatarSize = { tileView ? AVATAR_SIZE * 1.5 : AVATAR_SIZE }
disableVideo = { (isScreenShare && !_isVirtualScreenshare) || _isFakeParticipant } disableVideo = { isScreenShare || _isFakeParticipant }
participantId = { participantId } participantId = { participantId }
zOrder = { 1 } /> zOrder = { 1 } />
{ {