Centova Technologies Forum
Centova Cast v3 => General discussion => Topic started by: gradio on May 08, 2016, 06:08:04 am
-
Hi all,
I have just activated CC's Port80 Proxy.
Is it somehow possible to pass query parameters to icecast which have been added to the mount "/stream" via the proxy script?
Without the proxy it works just fine...
Example:
http://<SERVER>/proxy/<USERNAME>?mp=/stream&user=1234&secrettoken=5678
Can somebody hint me in the right direction?
Thanks!
-
Unfortunately no, that's not possible at this time. In order to map usernames (as in, /proxy/username) to the correct SHOUTcast/IceCast IP:port in realtime, an internal proxy is used to perform that lookup and then instruct nginx to do a redirect to an internal location.
While passing around a bunch of query variables would be possible, it'd require a bunch more code and effort to do it safely and wasn't deemed to be worth the effort given how few clients would use it. You're welcome to post a feature request though, in case we underestimated demand for this.
-
Thank you for the explanation!
I have submitted a feature request here: http://forums.centova.com/index.php?topic=3931