tinyFixes
Signed-off-by: Timo K <toger5@hotmail.de>
This commit is contained in:
parent
a01e62d9ed
commit
86ab2b4287
1 changed files with 2 additions and 2 deletions
|
@ -4,7 +4,7 @@ import {
|
||||||
LocalVideoTrack,
|
LocalVideoTrack,
|
||||||
Room,
|
Room,
|
||||||
} from "livekit-client";
|
} from "livekit-client";
|
||||||
import React, { useEffect } from "react";
|
import React from "react";
|
||||||
import {
|
import {
|
||||||
useMediaDeviceSelect,
|
useMediaDeviceSelect,
|
||||||
usePreviewDevice,
|
usePreviewDevice,
|
||||||
|
@ -59,7 +59,7 @@ export function useLiveKit(): LiveKitState | undefined {
|
||||||
// // eslint-disable-next-line react-hooks/exhaustive-deps
|
// // eslint-disable-next-line react-hooks/exhaustive-deps
|
||||||
// }, []);
|
// }, []);
|
||||||
|
|
||||||
// then start the preview device (no permsission should be triggered agian)
|
// then start the preview device (no permission should be triggered agian)
|
||||||
// Create local video track.
|
// Create local video track.
|
||||||
const video = usePreviewDevice(
|
const video = usePreviewDevice(
|
||||||
videoEnabled,
|
videoEnabled,
|
||||||
|
|
Loading…
Add table
Reference in a new issue