Enable debug logging
Fixes https://github.com/vector-im/element-call/issues/1267
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
import { Room, RoomOptions } from "livekit-client";
|
import { Room, RoomOptions, setLogLevel } from "livekit-client";
|
||||||
import { useLiveKitRoom } from "@livekit/components-react";
|
import { useLiveKitRoom } from "@livekit/components-react";
|
||||||
import { useMemo } from "react";
|
import { useMemo } from "react";
|
||||||
|
|
||||||
@@ -15,6 +15,8 @@ export type DeviceChoices = {
|
|||||||
enabled: boolean;
|
enabled: boolean;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
setLogLevel("debug");
|
||||||
|
|
||||||
export function useLiveKit(
|
export function useLiveKit(
|
||||||
userChoices: UserChoices,
|
userChoices: UserChoices,
|
||||||
sfuConfig?: SFUConfig
|
sfuConfig?: SFUConfig
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ export default defineConfig(({ mode }) => {
|
|||||||
|
|
||||||
const plugins = [
|
const plugins = [
|
||||||
react(),
|
react(),
|
||||||
basicSsl(),
|
//basicSsl(),
|
||||||
svgrPlugin(),
|
svgrPlugin(),
|
||||||
htmlTemplate.default({
|
htmlTemplate.default({
|
||||||
data: {
|
data: {
|
||||||
|
|||||||
Reference in New Issue
Block a user