Closed GoogleCodeExporter closed 8 years ago
The HLS (m3u8) stream is not playable on the browser itself. "Cannot load m3u8.
Crossdomain access deny".
This is clearly not an issue with Cast SDK. You need to implement CORS properly
to access this stream which is subjective of the origin of this stream. Please
read more about CORS with HTML5 here:
http://www.html5rocks.com/en/tutorials/cors/.
Also, please note that it is recommended to not use permissive "*" header for
AllowedOrigin in production. Replace this with the URL of your receiver.
Original comment by na...@google.com
on 16 Dec 2015 at 12:51
Thank you for sharing that document. I also found this page to be very helpful:
https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS
The official Media Player documentation
(https://developers.google.com/cast/docs/player) states the following:
"Most modern browsers fully support CORS. iOS and Android devices access the
content at a lower level and do not look at these headers. This is often the
first issue that comes up when a developer wishes to use streaming content."
That description seems to indicate that there is a special way to handle the
casting of HLS content from Chrome running on an Android device. What is the
recommended way of resolving this issue?
Thanks again for any help that you can provide!
Original comment by alenchi...@gmail.com
on 20 Dec 2015 at 5:46
Original issue reported on code.google.com by
alenchi...@gmail.com
on 13 Dec 2015 at 11:58