I’ve already posted about NGINX-RTMP’s support of on_publish & on_play (& recently added on_done) callbacks. These are HTTP callbacks which can be used to notify or reject RTMP operations. They receive connect and publish/play arguments like pageUrl, tcUrl etc. However in certain cases that’s not enough. It’s extremely useful to have arbitrary arguments to be passed there from outside.
Recently that problem has been solved with the support of play/publish arguments. These are submitted with usual form-urlencoded syntax:
The values for a and c are now passed to all callbacks. It can be used to check session and reject publish/play operations for certain clients.