Enable debug logging

Fixes https://github.com/vector-im/element-call/issues/1267
This commit is contained in:
David Baker
2023-07-17 19:33:29 +01:00
parent 05505a6177
commit 4eb9326bd2
2 changed files with 4 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
import { Room, RoomOptions } from "livekit-client";
import { Room, RoomOptions, setLogLevel } from "livekit-client";
import { useLiveKitRoom } from "@livekit/components-react";
import { useMemo } from "react";
@@ -15,6 +15,8 @@ export type DeviceChoices = {
enabled: boolean;
};
setLogLevel("debug");
export function useLiveKit(
userChoices: UserChoices,
sfuConfig?: SFUConfig

View File

@@ -27,7 +27,7 @@ export default defineConfig(({ mode }) => {
const plugins = [
react(),
basicSsl(),
//basicSsl(),
svgrPlugin(),
htmlTemplate.default({
data: {