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 />}
|
{isSpeakingToRoom ? <RecordVoiceOver /> : <VoiceOverOff />}
|
||||||
</MediaButton>
|
</MediaButton>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
{audioDevices.length > 0 && (
|
{audioDevices.length > 0 && isSpeakingToRoom && (
|
||||||
<Box sx={{ mt: 1 }}>
|
<Box sx={{ mt: 1 }}>
|
||||||
<List
|
<List
|
||||||
component="nav"
|
component="nav"
|
||||||
|
@ -72,7 +72,7 @@ export function RoomVideoControls({ peerRoom }: RoomVideoControlsProps) {
|
|||||||
{isCameraEnabled ? <Videocam /> : <VideocamOff />}
|
{isCameraEnabled ? <Videocam /> : <VideocamOff />}
|
||||||
</MediaButton>
|
</MediaButton>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
{videoDevices.length > 0 && (
|
{videoDevices.length > 0 && isCameraEnabled && (
|
||||||
<Box sx={{ mt: 1 }}>
|
<Box sx={{ mt: 1 }}>
|
||||||
<List
|
<List
|
||||||
component="nav"
|
component="nav"
|
||||||
|
Loading…
Reference in New Issue
Block a user