Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
fuyan2024 committed Jan 19, 2025
1 parent fe3403c commit 973279d
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ export const Camera = (props: {
const role = useSelector(getRole);

const turnVideoOnCapability = useSelector(getCapabilites)?.turnVideoOn;
console.log('hi there from camera.tsx', turnVideoOnCapability, _HighContrastAwareIcon);

return (
<CameraButton
Expand All @@ -42,7 +41,11 @@ export const Camera = (props: {
enableDeviceSelectionMenu={props.splitButtonsForDeviceSelection}
disableTooltip={props.disableTooltip}
disabled={cameraButtonProps.disabled || props.disabled || !!(isRoomsCall && role === 'Unknown')}
onRenderOffIcon={undefined}
onRenderOffIcon={
turnVideoOnCapability && !turnVideoOnCapability.isPresent
? () => <_HighContrastAwareIcon disabled={true} iconName={'ControlButtonCameraProhibited'} />
: undefined
}
onClickVideoEffects={props.onClickVideoEffects}
componentRef={props.componentRef}
/>
Expand Down

0 comments on commit 973279d

Please sign in to comment.