nginx-rtmp-module icon indicating copy to clipboard operation
nginx-rtmp-module copied to clipboard

on_publish access control

Open narunetto opened this issue 13 years ago • 1 comments

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!

narunetto avatar Nov 25 '13 02:11 narunetto

403 should close publisher connection. Watch debug log for more info

arut avatar Nov 25 '13 08:11 arut