Replies: 3 comments
-
Hello,
At the moment the recording is not native (since this would require supporting containers and codecs, but maybe one day we'll get to this point), but nothing forbids from using ffmpeg together with rtsp-simple-server to achieve the result: paths:
mystream:
runOnPublish: ffmpeg -i rtsp://localhost:$RTSP_PORT/$RTSP_PATH -c copy -f mpegts $(date +'%s').ts
runOnPublishRestart: yes This configuration saves all the streams published to path
Yes: paths:
mystream:
runOnPublish: ./on_publish.sh create a file named
if you don't care about the disconnect webhook, you can simply do: paths:
mystream:
runOnPublish: http://webhook-on-connect |
Beta Was this translation helpful? Give feedback.
-
This concept works great on linux. Do you have a good way to do a webhook on windows? that we can call a webservice to notify on publish? I guess we could build our own exe to call it, but it would be good to know your thoughts. also, the same for disconnect. |
Beta Was this translation helpful? Give feedback.
-
@t3therdev use Powershell, Cygwin or build an exe with Go - scripting is much more versatile than any new feature that can be added to the server. |
Beta Was this translation helpful? Give feedback.
-
hi,
after several years using rtmp services, i'm trying this rtsp server and i'm looking for some functionality that seems missed:
Beta Was this translation helpful? Give feedback.
All reactions