forked from Shiloh/remnantchat
This commit is contained in:
parent
29a20a930e
commit
3fe80f58fd
@ -78,7 +78,7 @@ export function RoomAudioControls({ peerRoom }: RoomAudioControlsProps) {
|
||||
{isSpeakingToRoom ? <RecordVoiceOver /> : <VoiceOverOff />}
|
||||
</MediaButton>
|
||||
</Tooltip>
|
||||
{audioDevices.length > 0 && (
|
||||
{audioDevices.length > 0 && isSpeakingToRoom && (
|
||||
<Box sx={{ mt: 1 }}>
|
||||
<List
|
||||
component="nav"
|
||||
|
@ -72,7 +72,7 @@ export function RoomVideoControls({ peerRoom }: RoomVideoControlsProps) {
|
||||
{isCameraEnabled ? <Videocam /> : <VideocamOff />}
|
||||
</MediaButton>
|
||||
</Tooltip>
|
||||
{videoDevices.length > 0 && (
|
||||
{videoDevices.length > 0 && isCameraEnabled && (
|
||||
<Box sx={{ mt: 1 }}>
|
||||
<List
|
||||
component="nav"
|
||||
|
Loading…
Reference in New Issue
Block a user