wandenberg/nginx-push-stream-module — pull request #27 by sebcante (2012-04-30 04:35:34+00:00)
Title: Ability to enrich subscriber url

Hi wandenberg,

Here is a pull request to enhance pushstream js to allow the client to enrich the subscriber url.

This is needed for example when using forever iframe, we pass a query string to know how much padding we need to serve. I generalized it so the client can add anything on the url

example of use :

new PushStream ({
[....]
enrichUrl : function (url){
return Utils.addOrReplaceUrlParam(url,"ua",_options.useragent);
})

hoping this could be integrated into the main branch

cheers,

-seb