Re-enable livekit rageshake logging & with depth limit

Puts livekit logs back in the rageshake logs and adds a recursion
limit to the object serialiser in rageshake.
This commit is contained in:
David Baker
2023-09-26 12:08:08 +01:00
parent a1aaacaad7
commit 4613d43c3c
3 changed files with 27 additions and 5 deletions

View File

@@ -20,7 +20,6 @@ import {
ExternalE2EEKeyProvider,
Room,
RoomOptions,
setLogLevel,
} from "livekit-client";
import { useLiveKitRoom } from "@livekit/components-react";
import { useEffect, useMemo, useRef, useState } from "react";
@@ -44,8 +43,6 @@ export type E2EEConfig = {
sharedKey: string;
};
setLogLevel("debug");
interface UseLivekitResult {
livekitRoom?: Room;
connState: ECConnectionState;