diff --git a/config/kai-sa-go2rtc.yaml b/config/kai-sa-go2rtc.yaml index 142bd6e..968a147 100644 --- a/config/kai-sa-go2rtc.yaml +++ b/config/kai-sa-go2rtc.yaml @@ -11,7 +11,7 @@ rtsp: streams: webcam: - - "exec:ffmpeg -hide_banner -loglevel info -f v4l2 -video_size 640x480 -framerate 15 -i /dev/video0 -thread_queue_size 512 -f pulse -i default -c:v libx264 -preset ultrafast -tune zerolatency -profile:v baseline -pix_fmt yuv420p -g 30 -af volume=6,alimiter=limit=0.9 -c:a aac -b:a 64k -rtsp_transport tcp -f rtsp {output}" + - "exec:ffmpeg -hide_banner -loglevel info -f v4l2 -video_size 1280x720 -framerate 30 -input_format mjpeg -i /dev/video0 -thread_queue_size 512 -f pulse -i default -c:v libx264 -preset ultrafast -tune zerolatency -profile:v baseline -pix_fmt yuv420p -g 30 -af volume=6,alimiter=limit=0.9 -c:a aac -b:a 64k -rtsp_transport tcp -f rtsp {output}" ffmpeg: global: "-hide_banner -loglevel warning" diff --git a/src/App.tsx b/src/App.tsx index 4adfbf7..73bae60 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -81,21 +81,21 @@ export function App() { }; return ( -
-
-
+
+
+
Logo
{sessionExpired && ( -
+
Session expirée.
)} -
-
-
-
- Gain micro +
+
+ Gain micro onGainChange(Number(e.target.value))} - className="w-32 accent-white" + className="w-24 sm:w-28 md:w-32 accent-white cursor-pointer" />
{media.length > 0 && ( )}
- {error &&
{error}
} -
+ {error &&
{error}
} +
{media.map((item) => (
)}
-
- +
+ {item.filename}
DL @@ -141,7 +141,7 @@ export function MediaGallery() {
{itemToDelete && ( -
+

Confirmer la suppression @@ -152,13 +152,13 @@ export function MediaGallery() {
@@ -169,11 +169,11 @@ export function MediaGallery() { {selectedItem && (
setSelectedItem(null)} >
e.stopPropagation()} > {selectedItem.type === "video" ? ( diff --git a/src/components/VideoPlayer.tsx b/src/components/VideoPlayer.tsx index 1eca541..ba0e94e 100644 --- a/src/components/VideoPlayer.tsx +++ b/src/components/VideoPlayer.tsx @@ -7,7 +7,8 @@ export function VideoPlayer({ streamUrl }: VideoPlayerProps) {