diff --git a/apps/web/hooks/useUserMedia.ts b/apps/web/hooks/useUserMedia.ts index 69a5b42..cbf73e8 100644 --- a/apps/web/hooks/useUserMedia.ts +++ b/apps/web/hooks/useUserMedia.ts @@ -14,7 +14,7 @@ export const useUserMedia = (video: HTMLVideoElement) => { const updateUserMedia = useCallback( async (video: HTMLVideoElement, constraints: MediaConstraints) => { - let _video = false; + let _video: MediaTrackConstraints | boolean = false; if (constraints.video !== "off") { _video = constraints.video