communication-react-19
Version:
React library for building modern communication user experiences utilizing Azure Communication Services (React 19 compatible fork)
15 lines • 541 B
JavaScript
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
import { createSelector } from 'reselect';
import { getDeviceManager } from './baseSelectors';
/**
* Provides data attributes to {@link LocalVideoCameraCycleButton} component.
* @public
*/
export const localVideoCameraCycleButtonSelector = createSelector([getDeviceManager], (deviceManager) => {
return {
cameras: deviceManager.cameras,
selectedCamera: deviceManager.selectedCamera
};
});
//# sourceMappingURL=LocalVideoTileSelector.js.map