diff --git a/apps/kai-sa-cam/src/App.tsx b/apps/kai-sa-cam/src/App.tsx index 8a84daa..bcc4849 100644 --- a/apps/kai-sa-cam/src/App.tsx +++ b/apps/kai-sa-cam/src/App.tsx @@ -1,4 +1,4 @@ -import { useState, useEffect, useRef } from "react"; +import { useState, useEffect } from "react"; import { VideoPlayer } from "./components/VideoPlayer"; import { Controls } from "./components/Controls"; import { MediaGallery } from "./components/MediaGallery"; @@ -63,21 +63,10 @@ export function App() { return (
-

Kai-Sa-Cam

-
-
- Gain - setGain(Number(e.target.value))} - className="w-32" - /> -
-
+

+ Logo + Kai-Sa-Cam +

diff --git a/apps/kai-sa-cam/src/components/VideoPlayer.tsx b/apps/kai-sa-cam/src/components/VideoPlayer.tsx index 8c976fb..1447c4d 100644 --- a/apps/kai-sa-cam/src/components/VideoPlayer.tsx +++ b/apps/kai-sa-cam/src/components/VideoPlayer.tsx @@ -1,27 +1,27 @@ -import { useEffect, useRef } from 'react' +import { useEffect, useRef } from "react"; interface VideoPlayerProps { - streamUrl: string + streamUrl: string; } export function VideoPlayer({ streamUrl }: VideoPlayerProps) { - const iframeRef = useRef(null) + const iframeRef = useRef(null); useEffect(() => { if (iframeRef.current) { - iframeRef.current.src = streamUrl + iframeRef.current.src = streamUrl; } - }, [streamUrl]) + }, [streamUrl]); return ( -
+