AWS CloudFront、S3 Streamming
主要是參考這兩篇
1. http://www.jwplayer.com/blog/encoding-hls-with-amazon-elastic-transcoder/
使用 Amaz...
Upcoming SlideShare
Loading in …5
×

AWS CloudFront、S3 Streamming

431 views
357 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
431
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
3
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

AWS CloudFront、S3 Streamming

  1. 1. AWS CloudFront、S3 Streamming 主要是參考這兩篇 1. http://www.jwplayer.com/blog/encoding-hls-with-amazon-elastic-transcoder/ 使用 Amazon Elastic Transcoder 轉 HLS 2. http://www.jwplayer.com/blog/delivering-hls-with-amazon-cloudfront/ Delivering HLS with Amazon CloudFront 有一些特別奇怪的設定 1. crossdomain.xml (照 COPY 就好 1 不用改) <?xml version="1.0"?> <!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd"> <cross-domain-policy> <allow-access-from domain="*" /> </cross-domain-policy> 2. S3 要 create 兩個 buckets : HLS stream and a thumbnail 兩個 bucket 都要擺 crossdomain.xml 3. 注意一點:CloudFront 不能設兩個 dist. 去對應到同一個 bucket,不然影 片不能撥放 3. 其他資訊,其實也是亂看一下,好像也沒用到 http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Stream ingDistributionS3Origin.html http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Tutorial StreamingAdobeFlash.html http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private -content-restricting-access-to-s3.html#private-content-creating-oai http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private -content-signed-urls-overview.html http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/CFPriva teDistJavaDevelopment.html

×