1
hualuogeng 2014-06-27 12:20:03 +08:00 via Android 1
我试了一下,手机上的chrome两个都可播放
|
2
qiongqi OP @hualuogeng 感谢测试。
刚才试了下,android没问题,iPhone上的chrome和safari都不能播放。 |
3
qiongqi OP 应该是我们的nginx不支持视频流的问题,android是先下载然后播放的,iPhone是在线播的。
|
4
em70 2014-06-27 13:49:06 +08:00 via Android
iphone流媒体一般用m3u8,mp4可能需要HTML5的video标签,以前视频网站都是mp4,现在全m3u8l
了。 |
5
jasontse 2014-06-27 14:03:20 +08:00 via iPad
编码要 H.264/AAC 的
|
6
jasontse 2014-06-27 14:14:41 +08:00 via iPad 1
HTTP Header 方面的区别,应该是断点续传的问题。
curl -I http://mvvideo2.meitudata.com/5393d1086fc503314.mp4 HTTP/1.1 200 OK Date: Wed, 18 Jun 2014 07:09:40 GMT Server: nginx/1.4.4 Content-Type: video/mp4 Content-Length: 2524663 Accept-Ranges: bytes Access-Control-Allow-Origin: * Cache-Control: public, max-age=31536000 Content-Disposition: inline; filename="5393d1086fc503314.mp4" Content-Transfer-Encoding: binary ETag: "FhnEe1_6ZwvaEq7AGHXUDvcCZGtA" X-Log: MC;IO:1 X-Reqid: 9zoAAGq9CyE5mnUT X-Whom: nb192 Age: 1 X-Via: 1.1 hzh41:8104 (Cdn Cache Server V2.0), 1.1 gxnn63:8111 (Cdn Cache Server V2.0), 1.1 zhj86:1 (Cdn Cache Server V2.0) Connection: keep-alive curl -I http://124.202.144.17/video/379ee343ddde7b108d62713ced9e6242.c8.mp4 HTTP/1.1 200 OK Server: nginx Content-Type: video/mp4 Content-Length: 1127872 Connection: keep-alive X-Powered-By: PHP/5.3.17 Date: Fri, 27 Jun 2014 06:12:41 GMT Last-Modified: Sat, 29 Apr 2006 07:04:00 GMT Expires: Sun, 27 Jul 2014 06:12:41 GMT Cache-Control: max-age=2592000 |