UNPKG

@azure/communication-react

Version:

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

14 lines 591 B
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import * as reselect from 'reselect'; import { getUserFacingDiagnostics } from './baseSelectors'; /** * @private */ export const mutedNotificationSelector = reselect.createSelector([getUserFacingDiagnostics], diagnostics => { var _a; return { speakingWhileMuted: !!((_a = diagnostics === null || diagnostics === void 0 ? void 0 : diagnostics.media.latest.speakingWhileMicrophoneIsMuted) === null || _a === void 0 ? void 0 : _a.value) }; }); //# sourceMappingURL=mutedNotificationSelector.js.map