[開發筆記] 串流影片網站架設:Using Amazon(S3、Cloudfront) + JW player 6

最近工作的需要,要在網站上,試著用快速安全的方式,呈現出影片

我使用的solution:
  • JW player
  • Amazon s3
  • Amazon cloudfont
大部份的資源在網路上都有,本篇開發筆記只是把找到的資料做整理,方便日後使用。

Progress Download是最快的播放的方式,卻不是真正的串流。
詳細各種影片播放方式,走不同protocol的,請服用這篇

http://stackoverflow.com/questions/1746101/flash-flex-progressive-download-vs-rtmp

透過CDN保護檔案,需產生URL Signature:
http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/CreateURL_PHP.html
http://www.evoluted.net/thinktank/web-development/tutorial-html5-and-flash-video-streaming-with-cloudfront
http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-signed-urls-overview.html


若要比較Progress Download 與 RTMP 與實際的JW player 參數設定,請參考下面兩篇


Progress Download
http://videoninja101.com/delivery-types/prog-download/jwplayer-prog
RTMP Stream
http://videoninja101.com/delivery-types/rtmp-streaming/jwplayer-rtmp

Cloudfront restrit access
http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html

留言

張貼留言