Replies: 5 comments
-
What's the issue? What's your expect? What's your use scenario? |
Beta Was this translation helpful? Give feedback.
-
I need to deny recording for my specific cam. And before start recording i need to check permission in my hook-script: can i allow to start recording or no. I think that "on_dvr" started before recording. :) |
Beta Was this translation helpful? Give feedback.
-
Nop, the
|
Beta Was this translation helpful? Give feedback.
-
This feature is available in SRS 3.0, but i dont know where i can get ready to be compiled SRS 3.0. |
Beta Was this translation helpful? Give feedback.
-
GIT to checkout the develop branch(srs 3.0). Please google the git usage. |
Beta Was this translation helpful? Give feedback.
-
Hi!
Find some trouble with dvr hook. Look at this:
[2015-09-30 16:58:09.413][error][5924][113][9] http post on_dvr uri failed, ignored. client_id=109, url=http://myhooksdomain/myhook.php, request={"action":"on_dvr","client_id":109,"ip":"127.0.0.1","vhost":"hls","app":"live","stream":"cam34","cwd":"/usr/local/srs","file":"/mnt/data/records/cams/cam34/1443596268173.flv"}, response=1, code=200, ret=3008(Bad file descriptor)
I am response "1" (error code) not "0", but SRS still recording the stream, ignoring my hook response.
Thanks for advising!
Beta Was this translation helpful? Give feedback.
All reactions