- Ensure that the moov (metadata) is before the mdat (audio/video data). This is also called “fast start” or “web optimized”. For example, Handbrake has a “Web Optimized” checkbox, and ffmpeg and avconv have the output option -movflags faststart.
- Ensure that your web server is reporting the correct Content-Type (video/mp4).
- Ensure that your web server is configured to serve byte range requests.
- Ensure that your web server is not applying gzip or deflate compression on top of the compression in the mp4 file.
You can check the headers being sent by your web server using curl -I http://yoursite/video.mp4 or using the developer tools in your browser (Chrome, Firefox) (reload the page if it is cached). The HTTP Response Header should include Content-Type: video/mp4 and Accept-Ranges: bytes, and no Content-Encoding:.
From:
http://stackoverflow.com/questions/10328401/html5-how-to-stream-large-mp4-files
IIS负载均衡 Application Request Routing:
IIS Application Request Routing (ARR) 3 enables Web server administrators, hosting providers, and Content Delivery Networks (CDNs) to increase Web application scalability and reliability through rule-based routing, client and host name affinity, load balancing of HTTP server requests, and distributed disk caching. With ARR, administrators can optimize resource utilization for application servers to reduce management costs for Web server farms and shared hosting environments.
方案2、IIS Smooth Streaming IIS Media Services
Getting Started with IIS Smooth Streaming
http://www.iis.net/learn/media/on-demand-smooth-streaming/getting-started-with-iis-smooth-streaming
explaining IIS smooth streaming.
http://www.iis.net/learn/media
- Windows Media Services
- IIS Media Services
- Smooth Streaming
- Live Smooth Streaming
- Live Smooth Streaming Events
- On-Demand Smooth Streaming
- Streaming Media Conference Workshops
- Bit Rate Throttling
- Transform Manager
- Web Playlists
参考:
设置IIS支持Byte-Range
Apple
各流媒体的比较Comparison_of_streaming_media_systems
http://en.wikipedia.org/wiki/Comparison_of_streaming_media_systems
Application Request Routing 配置http://yanyangtian.blog.51cto.com/2310974/817136
Downloading and configuring the H264 Streaming Module for Internet Information Services IIS
http://h264.code-shop.com/trac/wiki/Mod-H264-Streaming-Internet-Information-Services-IIS-Version2