We already have an Http Listener plugin for Wowza. I want it to receive a POST request with content-type “file/png” which must end up in the content/<app_name> directory for the instance. I am kind of at a loss on how to do this, though. I have never handled post requests containing file/png, only json. How would I go about doing this? For instance, would the method getParameterMap() return something like {“file” = }? If so, then I guess I could create the file simply by using instanceOfMap.get(“file”) in the appropriate directory (which I could get by combining appInstance.getVHost().getHomePath() and appInstance.getApplication().getName(), and just adding “content/” in between). Or am I thinking about this the wrong way?
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
FME 3.0 -> Wowza -> Run HTTP request (POST/GET) | 13 | 5003 | May 17, 2009 | |
HTTProvider parse post variables | 5 | 3375 | July 7, 2010 | |
woowza as an application server | 1 | 2243 | June 7, 2012 | |
HTTP in to WOWZA , out put from WOWZA is also HTTP | 6 | 2905 | December 23, 2010 | |
Can wowza listen for http requests? | 2 | 2127 | August 24, 2016 |