Add WebRTC stats

This commit is contained in:
Robert Long
2021-11-01 12:37:45 -07:00
parent fb5727ddbb
commit dd3b4cc6be
2 changed files with 43 additions and 2 deletions

View File

@@ -69,6 +69,10 @@ export function Room({ client }) {
const roomId = maybeRoomId || hash;
const { loading, error, groupCall } = useLoadGroupCall(client, roomId);
useEffect(() => {
window.groupCall = groupCall;
}, [groupCall]);
if (loading) {
return (
<div className={styles.room}>