|
|
|
@ -22,7 +22,8 @@ const abstractSpeakerStatsList = (speakerStatsItem: Function): Function[] => { |
|
|
|
|
const conference = useSelector(state => state['features/base/conference'].conference); |
|
|
|
|
const speakerStats = useSelector(state => state['features/speaker-stats'].stats); |
|
|
|
|
const localParticipant = useSelector(getLocalParticipant); |
|
|
|
|
const { enableFacialRecognition } = useSelector(state => state['features/base/config']) || {}; |
|
|
|
|
const { defaultRemoteDisplayName, enableFacialRecognition } = useSelector( |
|
|
|
|
state => state['features/base/config']) || {}; |
|
|
|
|
const { facialExpressions: localFacialExpressions } = useSelector( |
|
|
|
|
state => state['features/facial-recognition']) || {}; |
|
|
|
|
|
|
|
|
@ -92,7 +93,7 @@ const abstractSpeakerStatsList = (speakerStatsItem: Function): Function[] => { |
|
|
|
|
props.facialExpressions = statsModel.getFacialExpressions(); |
|
|
|
|
} |
|
|
|
|
props.showFacialExpressions = enableFacialRecognition; |
|
|
|
|
props.displayName = statsModel.getDisplayName(); |
|
|
|
|
props.displayName = statsModel.getDisplayName() || defaultRemoteDisplayName; |
|
|
|
|
props.t = t; |
|
|
|
|
|
|
|
|
|
return speakerStatsItem(props); |
|
|
|
|