Replies: 4 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: yesThis configuration saves all the streams published to path
Yes: paths:
mystream:
runOnPublish: ./on_publish.shcreate 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.
-
|
This discussion is being locked automatically because the last update was more than 2 years ago. Do not use the content of this discussion as reference since it's probably outdated! The official documentation is the only place in which you can find up-to-date answers. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
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