Closed yelodevopsi closed 2 months ago
Isn't this already possible by changing the single path configuration, setting record
to true / false?
Isn't this already possible by changing the single path configuration, setting
record
to true / false?
I was just going to test/suggest this myself ๐ i use runOnDemand
param with a gstreamer pipeline attached.
Should the runOnDemandRestart
param be set to yes/no if this record
changes?
This is fantastic ๐ Works as intended. Thanks.
Closing this <3
Describe the feature
First off - fantastic work @aler9 and all contributing developers . This is a really wonderpiece of a media-stack ๐
I see that the record to disk on apparently all active streams are the only way to activate recording, and is great for surveillance.
However we have a bit different need:
Its important that it don't interfere with the global settings ofc.
I'm thinking of extending the current Recordings API with a POST and PUT
POST http://localhost:9997/v3/recordings/{name}/start - Start recording by path-name Response: Some recording-session-id
PUT http://localhost:9997/v3/recordings/{name}/stop/{session-id} - End recording segment by path-name Response: Ok/bool?
Needed configs for mediamtx.yml
If this is currently not in progress, could anyone direct me to where the triggering of recording is being done in the code, so I maybe have time create a PR in the future? ๐