Enhance video remote service and UI components

- Updated docker-compose.yml to include new media-api and mediamtx services for improved video handling.
- Modified package.json and package-lock.json to add TypeScript types for React and React DOM.
- Refactored video-related components (VideoCard, VideoList, VideoModal) for better user experience and responsiveness.
- Improved FiltersBar and Pagination components with enhanced styling and functionality.
- Added loading and error states in VideoList for better user feedback during data fetching.
- Enhanced CSS styles for a more polished look across the application.
This commit is contained in:
salirezav
2025-10-31 18:06:40 -04:00
parent 0b724fe59b
commit 00d4e5b275
17 changed files with 762 additions and 61 deletions

22
mediamtx.yml Normal file
View File

@@ -0,0 +1,22 @@
logLevel: info
rtsp: yes
rtmp: no
hls: yes
webrtc: yes
paths:
all:
# allow any path to be read; publishers can be added on-demand
readUser: any
sourceOnDemand: no
# Example on-demand publisher for a demo VOD (adjust file path):
# vod:
# readUser: any
# runOnDemand: |
# ffmpeg -re -stream_loop -1 -i /mnt/videos/sample.mp4 -c copy -f rtsp rtsp://localhost:8554/vod
# runOnDemandRestart: yes