Medicache not forwarding authentication cookies to origin server
I am using mediacache with http access to a web server which stores my video content. The web server validates a session id and an access_token before it returns any content. The wowza server (mediacache) is not sending any of the cookies it receives to the web server. How do I force the mediacache to forward all the cookies received? Is there a way to configure this?
The Media Cache requests from Wowza to the web server are not related to any single player session so what you are wanting to do would not be possible. Also the Media Cache uses a very simple http client that does not support cookies.
If you want to validate your player session, you can use onHTTPSessionCreate. Any cookies that have been sent to the server should be visible in the session.
As Richard mentioned, you can pass query string variables through to the web server via Media Cache but you do need to encode the stream name complete with the variables so that they do not get stripped out by the session.