Merge 6b67924dbd
into e12999d44f
This commit is contained in:
commit
99f640d19a
|
@ -22,6 +22,7 @@ import { pinParticipant } from '../../../base/participants/actions';
|
|||
import {
|
||||
getLocalParticipant,
|
||||
getParticipantByIdOrUndefined,
|
||||
getScreenshareParticipantIds,
|
||||
hasRaisedHand,
|
||||
isLocalScreenshareParticipant,
|
||||
isScreenShareParticipant,
|
||||
|
@ -1386,9 +1387,14 @@ function _mapStateToProps(state: IReduxState, ownProps: any): Object {
|
|||
const participantId = isLocal ? getLocalParticipant(state)?.id : participantID;
|
||||
const isActiveParticipant = activeParticipants.find((pId: string) => pId === participantId);
|
||||
const participantCurrentlyOnLargeVideo = state['features/large-video']?.participantId === id;
|
||||
const screenshareParticipantIds = getScreenshareParticipantIds(state);
|
||||
|
||||
const shouldDisplayTintBackground
|
||||
= _currentLayout !== LAYOUTS.TILE_VIEW && filmstripType === FILMSTRIP_TYPE.MAIN
|
||||
&& (isActiveParticipant || participantCurrentlyOnLargeVideo);
|
||||
&& (isActiveParticipant || participantCurrentlyOnLargeVideo)
|
||||
|
||||
// skip showing tint for owner participants that are screensharing.
|
||||
&& !screenshareParticipantIds.includes(id);
|
||||
|
||||
return {
|
||||
_audioTrack,
|
||||
|
|
Loading…
Reference in New Issue