Play/publish argument support

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.

  1. #1 by sysmouse on June 27, 2012 - 11:14 am

    Great! Awesome work!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: