我有一个没有在Chromecast设备上播放的hls视频流。我还在流主机上启用了CORS。视频正在我的Android应用程序上播放。
当我在Chrome浏览器中打开流媒体链接时,会显示以下请求和响应标题
Request Method:GET
Status Code:200 OK
响应标题
Accept-Ranges:bytes
Access-Control-Allow-Origin:*
Cache-Control:max-age=86400
Connection:Keep-Alive
Content-Length:89
Content-Type:application/x-mpegURL
Date:Fri, 10 Jul 2015 06:33:42 GMT
ETag:"1433735738"
Keep-Alive:timeout=10, max=100
Last-Modified:Mon, 08 Jun 2015 03:55:38 GMT
X-HW:1436510022.dop013.am4.t,1436510022.cds048.am4.c
请求标题
Accept:text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Accept-Encoding:gzip, deflate, sdch
Accept-Language:en-US,en;q=0.8
Connection:keep-alive
Host:cds.n2p5u8x8.hwcdn.net
User-Agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.132 Safari/537.36