-
Notifications
You must be signed in to change notification settings - Fork 1.8k
allow to toggle recording on paths without a dedicated configuration #3718
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
as I understand it, we need to add the ability to change parameters not only based on the confName parameter, but also on the source -> type parameter in each specific stream, because the type is different, there is rtspSource and there is rtspSession
|
Hello, yes, lots of users want to control the individual Currently, the server works with a top-bottom approach in which settings are stored in "path configurations", and paths cannot change settings on their own. The advantage of this is that multiple paths can be updated at the same time, by just changing a parameter in the "path configuration". A completely opposite strategy would be to copy "path configurations" inside paths when they are created, and allow paths to change their settings independently from configurations. The disadvantage of this is that it wouldn't be possible anymore to update paths by just updating their path configuration, since changes would have no effect. Probably the best solution is a middle way in between. |
Hello everyone. Dear and mighty aler9, please tell me if you have any ideas or plans for implementing this? Thank you. |
As workaround I do : First call Then call Then call Kick RTSP session with call |
When a new path configuration is added via the API with a name that exactly matches an existing stream path, Mediamtx will now automatically hot reload the path with the new configuration without requiring disconnection and reconnection of publishers. See bluenviron#3718
When a new path configuration is added via the API with a name that exactly matches an existing stream path, Mediamtx will now automatically hot reload the path with the new configuration without requiring disconnection and reconnection of publishers. See bluenviron#3718
Which version are you using?
v1.8.4
Which operating system are you using?
Describe the issue
there is no way to change parameters inside the all_other path, for example, set the record to true or false for a specific stream published via ffmpeg or camera (which can publish on the server)
sending to the API to disable recording for a specific stream
127.0.0.1:9997/v3/config/paths/patch/65598042706279143845
and everything would be fine if its confName parameter had the value 65598042706279143845, but since the confName parameter has the value all_others, we cannot change it for a specific stream (they differ in the name parameter), only for all at once, which is not correct
Describe how to replicate the issue
Did you attach the server logs?
yes / no
Did you attach a network dump?
yes / no
The text was updated successfully, but these errors were encountered: