@azure/communication-react
Version:
React library for building modern communication user experiences utilizing Azure Communication Services
15 lines • 539 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