diff --git a/client/src/MediaControl.tsx b/client/src/MediaControl.tsx index a55ffc6..3612363 100644 --- a/client/src/MediaControl.tsx +++ b/client/src/MediaControl.tsx @@ -1338,6 +1338,7 @@ const MediaControl: React.FC = ({ const spacerRef = useRef(null); const controlsRef = useRef(null); const indicatorsRef = useRef(null); + const audioRef = useRef(null); const moveableRef = useRef(null); const [isDragging, setIsDragging] = useState(false); // Controls expansion state for hover/tap compact mode @@ -1508,6 +1509,43 @@ const MediaControl: React.FC = ({ // eslint-disable-next-line react-hooks/exhaustive-deps }, [muted, peer?.attributes?.srcObject, peer?.dead, peer]); + // Attach remote stream to a hidden