-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Start Stop Record on demand via API #2387
Comments
nevermind. I could control it via http://localhost:9997/v2/config/set it is still a weird way to do it. maybe the API should be reworked |
While it's possible to control control recording through the API, at the moment enabling/disabling recording on a running stream is not possible, since the stream gets restarted. In order to solve the issue, i've created a feature request here: #2395 |
This has been fixed by #2434 |
added in v1.2.0 |
Hello i want to know how to enable/disable recording throught api. I want to record stream from my camera only when i make api call and stop recording when i call this api too. |
@fotosidla There is a way to implement your demand, use /v3/config/paths/patch/{name} to switch |
This issue is being locked automatically because it has been closed for more than 6 months. |
Describe the feature
Hi,
currently the documentation on https://bluenviron.github.io/mediamtx/ is showing all the API commands.
Is there a chance to get a START and STOP to control recordings on demand?
It is a very common usecase in my opinion. I need to be able to control it without having to modifying the configuration. Thank you!
The text was updated successfully, but these errors were encountered: