I’m building a local webpage that I’d like to embed the pearl HLS stream into an HTML 5 video element. Eventually this webpage will become apart of a chrome extension and bundled into a chrome app. The brick wall that I’m running into is that the pearl does not seem to support Cross-origin resource sharing (CORS) and denies the request for the stream while viewing the webpage in the chrome browser. Things work great when I view the webpage in safari (HLS native) so I know the webpage is doing the job correctly.
I’ve attempted to use a CORS proxy, which eventually just times out. Now I’m thinking of a solution where I can have a local server re-broadcast the pearl feed as well as be the local web server, which I think would eliminate the CORS issues. what do you all think?