fix(SmallVideo): computeDisplayModeInput

Co-authored-by: Saúl Ibarra Corretgé <saghul@jitsi.org>
This commit is contained in:
Hristo Terezov 2021-01-06 16:16:34 -06:00
parent 51e381a0b1
commit e161cbc4bd
1 changed files with 1 additions and 1 deletions

View File

@ -244,7 +244,7 @@ export default class SmallVideo {
= isLocal ? getLocalVideoTrack(tracks) : getTrackByMediaTypeAndParticipant(tracks, MEDIA_TYPE.VIDEO, id); = isLocal ? getLocalVideoTrack(tracks) : getTrackByMediaTypeAndParticipant(tracks, MEDIA_TYPE.VIDEO, id);
if (typeof participant !== 'undefined' && !participant.isFakeParticipant && !participant.local) { if (typeof participant !== 'undefined' && !participant.isFakeParticipant && !participant.local) {
isScreenSharing = typeof track !== 'undefined' && videoTrack?.videoType === 'desktop'; isScreenSharing = videoTrack?.videoType === 'desktop';
connectionStatus = participant.connectionStatus; connectionStatus = participant.connectionStatus;
} }