You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
v0.23.2
it seems like v0.22.2 didn't have this problem
Which operating system are you using?
Linux amd64 standard
Linux amd64 Docker
Linux arm64 standard
Linux arm64 Docker
Linux arm7 standard
Linux arm7 Docker
Linux arm6 standard
Linux arm6 Docker
Windows amd64 standard
Windows amd64 Docker (WSL backend)
macOS amd64 standard
macOS amd64 Docker
Other (please describe)
Describe the issue
if a path is created by HTTP API /v2/config/paths/add/{name}
the config of this path is initialized as default values, ignoring the config in the paths/all section in the .yml file
especially, the sourceOnDemandStartTimeout are 0s, this makes the path essentially unusable,
since the source connection is closed immediately after connected
Describe how to replicate the issue
start the server
create a path using HTTP API /v2/config/paths/add/test
{ “source”: "rtsp://......" }
read paths info with HTTP API /v2/paths/list
see the sourceOnDemandStartTimeout config of "test" is 0s
open mediamtx.yml file
see the sourceOnDemandStartTimeout config under paths/all section is 10s
Did you attach the server logs?
no
Did you attach a network dump?
no
The text was updated successfully, but these errors were encountered:
Hello, config parameters under path "all" are not applied to other paths, as mentioned in the configuration file:
The settings under the path "all" are applied to all paths that do not match another entry.
Nonetheless, 10s is the default value of sourceOnDemandStartTimeout, and default values should be applied to API-created paths too, while they are not, and this is a bug.
This issue is being locked automatically because it has been closed for more than 6 months.
Please open a new issue in case you encounter a similar problem.
Which version are you using?
v0.23.2
it seems like v0.22.2 didn't have this problem
Which operating system are you using?
Describe the issue
if a path is created by HTTP API /v2/config/paths/add/{name}
the config of this path is initialized as default values, ignoring the config in the paths/all section in the .yml file
especially, the sourceOnDemandStartTimeout are 0s, this makes the path essentially unusable,
since the source connection is closed immediately after connected
Describe how to replicate the issue
{ “source”: "rtsp://......" }
Did you attach the server logs?
no
Did you attach a network dump?
no
The text was updated successfully, but these errors were encountered: