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:
22
mediamtx.yml
Normal file
22
mediamtx.yml
Normal 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
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user