bluenviron / mediamtx

Ready-to-use SRT / WebRTC / RTSP / RTMP / LL-HLS media server and media proxy that allows to read, publish, proxy, record and playback video and audio streams.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Record on demand through API

yelodevopsi opened this issue Β· comments

GET/POST/DELETE Record on demand API

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:

  • Is there any manual start/stop recording feature in the pipeline currently?

image

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

Needed configs for mediamtx.yml

# This is the max time if /start is triggered but not /stop
recordTriggeredMaxDuration: 1h

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? πŸ™

This issue is being automatically closed because it does not follow the issue template.
Please reopen the issue and make sure to include all sections of the template.