diff --git a/react/features/base/participants/components/ParticipantView.native.js b/react/features/base/participants/components/ParticipantView.native.js index 1e4f068a9..780378180 100644 --- a/react/features/base/participants/components/ParticipantView.native.js +++ b/react/features/base/participants/components/ParticipantView.native.js @@ -12,7 +12,7 @@ import { Container, TintedView } from '../../react'; import { connect } from '../../redux'; import { TestHint } from '../../testing/components'; import { getVideoTrackByParticipant } from '../../tracks'; -import { getParticipantById, shouldRenderParticipantVideo } from '../functions'; +import { getParticipantById, isSharedVideoParticipant, shouldRenderParticipantVideo } from '../functions'; import { FakeParticipant } from '../types'; import styles from './styles'; @@ -38,6 +38,11 @@ type Props = { */ _fakeParticipant?: FakeParticipant, + /** + * Whether the participant is a shared video participant. + */ + _isSharedVideoParticipant: boolean, + /** * The name of the participant which this component represents. * @@ -176,6 +181,7 @@ class ParticipantView extends Component { const { _connectionStatus: connectionStatus, _fakeParticipant, + _isSharedVideoParticipant, _renderVideo: renderVideo, _videoTrack: videoTrack, disableVideo, @@ -191,7 +197,7 @@ class ParticipantView extends Component { ? this.props.testHintId : `org.jitsi.meet.Participant#${this.props.participantId}`; - const renderSharedVideo = _fakeParticipant && !disableVideo; + const renderSharedVideo = _isSharedVideoParticipant && !disableVideo; return ( { { renderSharedVideo && } - { !_fakeParticipant && renderVideo + { renderVideo &&