This commit is contained in:
Robin Townsend 2023-06-20 12:13:27 -04:00
parent 0e66e21dae
commit 7bb45adbe1

View file

@ -91,7 +91,7 @@ export const VideoTile = React.forwardRef<HTMLDivElement, Props>(
member!.removeListener(RoomMemberEvent.Name, updateName); member!.removeListener(RoomMemberEvent.Name, updateName);
}; };
} }
}, [member]); }, [member, setDisplayName]);
const audioEl = React.useRef<HTMLAudioElement>(null); const audioEl = React.useRef<HTMLAudioElement>(null);
const { isMuted: microphoneMuted } = useMediaTrack( const { isMuted: microphoneMuted } = useMediaTrack(