|
@@ -124,7 +124,7 @@ function _mapStateToProps(state, ownProps) {
|
124
|
124
|
} else if (!participant?.isFakeParticipant) { // remote participants excluding shared video
|
125
|
125
|
const track = getTrackByMediaTypeAndParticipant(tracks, MEDIA_TYPE.VIDEO, participantID);
|
126
|
126
|
|
127
|
|
- isScreenSharing = typeof track !== 'undefined' && track.videoType === 'desktop';
|
|
127
|
+ isScreenSharing = track?.videoType === 'desktop';
|
128
|
128
|
isVideoMuted = isRemoteTrackMuted(tracks, MEDIA_TYPE.VIDEO, participantID);
|
129
|
129
|
isAudioMuted = isRemoteTrackMuted(tracks, MEDIA_TYPE.AUDIO, participantID);
|
130
|
130
|
}
|