Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(rn,thumbnail) show SS indicator on the local thumbnail

Saúl Ibarra Corretgé104bfe7339ad
diff --git a/react/features/filmstrip/components/native/Thumbnail.js b/react/features/filmstrip/components/native/Thumbnail.js
index 1391a8288d..f217b695b0 100644
--- a/react/features/filmstrip/components/native/Thumbnail.js
+++ b/react/features/filmstrip/components/native/Thumbnail.js
@@ -61,11 +61,6 @@ type Props = {
*/
_isFakeParticipant: boolean,
- /**
- * Indicates whether multi-stream support is enabled.
- */
- _isMultiStreamSupportEnabled: boolean,
-
/**
* Indicates whether the participant is screen sharing.
*/
@@ -213,7 +208,6 @@ class Thumbnail extends PureComponent<Props> {
_renderIndicators() {
const {
_audioMuted: audioMuted,
- _isMultiStreamSupportEnabled,
_isScreenShare: isScreenShare,
_isVirtualScreenshare,
_isFakeParticipant,
@@ -247,10 +241,7 @@ class Thumbnail extends PureComponent<Props> {
{ audioMuted && !_isVirtualScreenshare && <AudioMutedIndicator /> }
{ !tileView && _pinned && <PinnedIndicator />}
{ renderModeratorIndicator && !_isVirtualScreenshare && <ModeratorIndicator />}
- { !tileView && ((isScreenShare && !_isMultiStreamSupportEnabled) || _isVirtualScreenshare)
- && <ScreenShareIndicator /> /* Do not show screensharing indicator on the local camera
- thumbnail when a virtual SS participant tile is created for local screenshare */
- }
+ { !tileView && (isScreenShare || _isVirtualScreenshare) && <ScreenShareIndicator /> }
</Container>
{
renderDisplayName && <DisplayNameLabel
@@ -430,7 +421,6 @@ function _mapStateToProps(state, ownProps) {
_audioMuted: audioTrack?.muted ?? true,
_gifSrc: mode === 'chat' ? null : gifSrc,
_isFakeParticipant: participant?.isFakeParticipant,
- _isMultiStreamSupportEnabled: isMultiStreamSupportEnabled,
_isScreenShare: isScreenShare,
_isVirtualScreenshare: isMultiStreamSupportEnabled && participant?.isVirtualScreenshareParticipant,
_local: participant?.local,