How to Access-Control-Allow-Origin to playlist.m3u8 file?
I would like to read the playlist file from a domain different to the one that Wowza is running on. I'm currently doing this via a jquery get request to path/to/playlist.m3u8. This works fine when running from a file but when running from localhost I get this:
XMLHttpRequest cannot load http://slalom.local:1935/timedmetatest/mp4:sample.mp4/playlist.m3u8.
Origin http://localhost is not allowed by Access-Control-Allow-Origin.
HTTP origin stream is a possible (maybe) future feature of Wowza 3, but I don't have any time frame. At present it is not supported, though not impossible. I'm not sure, but I don't think your approach of extending Wowza will work, though I am not sure what to suggest, an external approach perhaps.