diff --git a/apps/meteor/client/lib/VideoConfManager.ts b/apps/meteor/client/lib/VideoConfManager.ts index 5d02febe5cea..35f6cc2b549f 100644 --- a/apps/meteor/client/lib/VideoConfManager.ts +++ b/apps/meteor/client/lib/VideoConfManager.ts @@ -115,7 +115,7 @@ export const VideoConfManager = new (class VideoConfManager extends Emitter(); - this._preferences = { mic: true }; + this._preferences = { mic: true, cam: false }; this._capabilities = {}; } diff --git a/apps/meteor/client/views/room/contextualBar/VideoConference/VideoConfPopups/VideoConfPopup/VideoConfPopupRoomInfo.tsx b/apps/meteor/client/views/room/contextualBar/VideoConference/VideoConfPopups/VideoConfPopup/VideoConfPopupRoomInfo.tsx index c5f664a5340a..4dac91e88e2f 100644 --- a/apps/meteor/client/views/room/contextualBar/VideoConference/VideoConfPopups/VideoConfPopup/VideoConfPopupRoomInfo.tsx +++ b/apps/meteor/client/views/room/contextualBar/VideoConference/VideoConfPopups/VideoConfPopup/VideoConfPopupRoomInfo.tsx @@ -30,7 +30,7 @@ const VideoConfPopupRoomInfo = ({ room }: { room: IRoom }): ReactElement => { return ( }> - {room.fname} + {room.fname || room.name} ); }; diff --git a/packages/ui-video-conf/src/VideoConfPopup/VideoConfPopup.tsx b/packages/ui-video-conf/src/VideoConfPopup/VideoConfPopup.tsx index 3f93b1a278b1..ee8c1829e23d 100644 --- a/packages/ui-video-conf/src/VideoConfPopup/VideoConfPopup.tsx +++ b/packages/ui-video-conf/src/VideoConfPopup/VideoConfPopup.tsx @@ -1,4 +1,4 @@ -import { Box } from '@rocket.chat/fuselage'; +import { Box, Palette } from '@rocket.chat/fuselage'; import styled from '@rocket.chat/styled'; import { forwardRef } from 'react'; import type { ReactNode, ReactElement, HTMLAttributes, Ref } from 'react'; @@ -7,6 +7,8 @@ export const VideoConfPopupContainer = styled('div', ({ position: _position, ... width: 100%; position: absolute; box-shadow: 0px 4px 32px rgba(0, 0, 0, 0.15); + background-color: ${Palette.surface['surface-light'].toString()}; + border-radius: 0.25rem; top: ${(p): string => (p.position ? `${p.position}px` : '0')}; left: -${(p): string => (p.position ? `${p.position}px` : '0')}; `; @@ -22,7 +24,7 @@ const VideoConfPopup = forwardRef(function VideoConfPopup( ): ReactElement { return ( - + {children}