Refactor MediaMTX configuration and enhance RTSP streaming logging
- Removed outdated timeout settings from MediaMTX configuration for improved stream handling. - Updated CameraStreamer class to include detailed logging for RTSP streaming state and frame dimension checks. - Added environment variable support for configuring MediaMTX host, enhancing flexibility in deployment.
This commit is contained in:
@@ -9,11 +9,6 @@ paths:
|
||||
# allow any path to be read; publishers can be added on-demand
|
||||
readUser: any
|
||||
sourceOnDemand: no
|
||||
sourceOnDemandStartTimeout: 10s
|
||||
sourceOnDemandCloseAfter: 10s
|
||||
# Keep source alive even without readers (remove timeout)
|
||||
# sourceCloseAfter: never # Keep stream alive indefinitely
|
||||
sourceCloseAfter: 30s # Keep stream alive for 30 seconds after last reader disconnects
|
||||
|
||||
# Example on-demand publisher for a demo VOD (adjust file path):
|
||||
# vod:
|
||||
|
||||
Reference in New Issue
Block a user