nginx-rtmp-module
nginx-rtmp-module copied to clipboard
on_publish access control
Hello,
I was wondering if there is a way that you can do access control using the on_publish directive. I've tried to make an auth script that checks the "name" to a known string and if it is correct passes a HTTP 200 code, and if not passes 403 but nothing happens if 403 is passed.
Thanks!
403 should close publisher connection. Watch debug log for more info