diff --git a/client/src/MediaControl.tsx b/client/src/MediaControl.tsx index 90baa3c..f646318 100644 --- a/client/src/MediaControl.tsx +++ b/client/src/MediaControl.tsx @@ -7,6 +7,7 @@ import Mic from "@mui/icons-material/Mic"; import VideocamOff from "@mui/icons-material/VideocamOff"; import Videocam from "@mui/icons-material/Videocam"; import Box from "@mui/material/Box"; +import IconButton from "@mui/material/IconButton"; import useWebSocket, { ReadyState } from "react-use-websocket"; import { Session } from "./GlobalContext"; import WebRTCStatus from "./WebRTCStatus"; @@ -1599,16 +1600,17 @@ const MediaControl: React.FC = ({ isSelf, peer, className }) > {isSelf ? ( - // onTouchStart={toggleMute} -
{muted ? : }
+ + {muted ? : } + ) : ( -
+ {muted ? : } -
+ )} -
+ {videoOn ? : } -
+
{isValid ? ( peer.attributes?.srcObject && (