video streaming - Android app cast HLS got error message No 'Access-Control-Allow-Origin' -
i tried cast m3u8 link chromecast. got below error message on debug page:
xmlhttprequest cannot load http://devimages.apple.com/iphone/samples/bipbop/bipbopall.m3u8. no 'access-control-allow-origin' header present on requested resource. origin 'https://www.gstatic.com' therefore not allowed access.
[cast.receiver.mediamanager] load metadata error
i added below m3u8 link xml file google sample app "domocastplayer"
<media imageurl="http://peach.blender.org/wp-content/uploads/poster_bunny_small.jpg" mimetype="application/x-mpegurl" studio="peach open movie project" title="u3m8 video" type="movie" url="http://devimages.apple.com/iphone/samples/bipbop/bipbopall.m3u8" />
can know set access-control-allow-origin header? or need add file this?
your issue states gstatic.com not allowed access media placed on server. so, done need add gstatic.com allowed domain(or add in white-list) on server-side configurations. able play media on chromecast.
thanks
Comments
Post a Comment