I have this weird setup. I have a NAS which has the media files stored in it. The NAS can only accept https:// connections which means that all files that are in the NAS are accessible only via an https:// address. The Set Top Box that I am streaming to can only create http:// connections and does not support https://
Here is a list of my problems...
1) The Set Top Box work on plain HTTP Streaming which essentially means that all I need to give to it is the file location and it plays it back without the need of any streaming server in the middle.
2) As mentioned above, the files are stored in the NAS which can only accept https:// so the box cannot connect to those files. Unfortunately I cannot do anything to change the https status of the NAS (Some security condition).
Two addressable solutions to this problem would be...
1) Introduce an intermediate system which sits between the NAS and the STB. This system works on plain http:// and is accessed by the box when request media to be played (Yes, I need video on demand). This system would pick up the file from the NAS location via an https:// connection and simply push it to the STB over http:// in real time. For this I may require a streaming server which can pick up and send the packets as they are in real time from the NAS to the box.
2) Introduce an intermediate caching system which, when requested, will search for the file's availability in its local storage. if present, it will allow access to the file over http:// In case the file is not present in its local cache, it will 'download' the file from the NAS using https:// and then stream it out to the user. I am not sure whether the file can be delivered to the box while it is being downloaded. If not, the user will have to wait for the file to be transferred completely between the NAS and the intermediate system before it can be served to the box. Doing so will introduce an ugly 10 minute delay for files that are large (Like 1080p movies) which the user will curse at!
I wanted to know, is there a possibility of using Wowza to perform the task mentioned in Solution #1 above? If so, how can we get that done?