UNPKG

@azure/communication-react

Version:

React library for building modern communication user experiences utilizing Azure Communication Services

8 lines 541 B
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import { toFlatCommunicationIdentifier } from "../../../acs-ui-common/src"; /** * @private */ export const checkIsSpeaking = (participant, inProgressRealTimeTextParticipantsIds) => inProgressRealTimeTextParticipantsIds ? participant.isSpeaking && !participant.isMuted || inProgressRealTimeTextParticipantsIds.includes(toFlatCommunicationIdentifier(participant.identifier)) : participant.isSpeaking && !participant.isMuted; //# sourceMappingURL=SelectorUtils.js.map