communication-react-19
Version:
React library for building modern communication user experiences utilizing Azure Communication Services (React 19 compatible fork)
13 lines • 693 B
JavaScript
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
import { getRemoteParticipants, getRemoteParticipantsEnded } from './baseSelectors';
import * as reselect from 'reselect';
/**
* Selector for all remote participants in a call, active and inactive.
* @public
*/
export const allRemoteParticipantsSelector = reselect.createSelector([getRemoteParticipants, getRemoteParticipantsEnded], (remoteParticipants, remoteParticipantsEnded) => {
// Combine remoteParticipants and remoteParticipantsEnded into a single object
return Object.assign(Object.assign({}, remoteParticipants), remoteParticipantsEnded);
});
//# sourceMappingURL=remoteParticipantsSelector.js.map