Sunday, July 15, 2012

Client IP in HTTP callbacks

I was asked to add client IP parameter to HTTP callbacks (on_play, on_publish, on_done, on_record_done). The feature is merged in master. The new parameter is called 'addr'. Here's full list of callback parameters currently supported:

  • call - callback type

  • addr - client IP address

  • app - application name

  • flashVer - client flash version

  • swfUrl - client swf url

  • tcUrl - tcUrl

  • pageUrl - client page url

  • name - stream name

1 comment:

  1. callback is really the awesome feature (read: swiss knife) of this module
    opens up so many possibility related to "load stats" / Auth / secure streaming etc.
    Thanks you