|« PreviousNext »|
|Did this page help you? Yes | No | Tell us about it...|
This section describes how to configure on-demand streaming. If you're using Adobe Flash Player, Flowplayer, or JW Player for your media player, see the applicable tutorial instead:
The following task list summarizes the process for creating a web distribution.
To Create an RTMP Distribution
Create an Amazon S3 bucket for your media files. If you are using a different Amazon S3 bucket for your media player, create an Amazon S3 bucket for the media player files, too.
The names of your buckets must be all lowercase and cannot contain spaces.
Choose and configure a media player to play your media files. For more information, refer to the documentation for the media player.
Upload the files for your media player to the origin from which you want CloudFront to get the files. If you are using an Amazon S3 bucket as the origin for the media player, make the files (not the bucket) publicly readable.
Create a web distribution for your media player. (You can also use an existing distribution.) For more information, see Creating Web Distributions.
Upload your media files to the Amazon S3 bucket that you created for the media files, and make the content (not the bucket) publicly readable.
Media files in a Flash Video container must include the .flv filename extension, or the media will not stream.
You can put media player files and media files in the same bucket.
Create an RTMP distribution for your media files:
For more information about creating a web distribution using the CloudFront console, see Creating an RTMP Distribution Using the CloudFront Console.
For information about creating a web distribution using the CloudFront API, go to POST Streaming Distribution in the Amazon CloudFront API Reference.
Configure your media player. For more information, see Configuring the Media Player.
If you have trouble getting your content to play, see Troubleshooting RTMP Distributions.
The following procedure explains how to create an RTMP distribution using the CloudFront console. If you want to create an RTMP distribution using the CloudFront API, go to POST Streaming Distribution in the Amazon CloudFront API Reference.
By default, you can create a combined total of 100 web and RTMP distributions for each AWS account. To request a higher limit, go to https://aws.amazon.com/support/createCase?type=service_limit_increase&serviceLimitIncreaseType=cloudfront-distributions.
To create an RTMP distribution using the CloudFront console
Sign in to the AWS Management Console and open the Amazon CloudFront console at https://console.aws.amazon.com/cloudfront/.
Click Create Distribution.
On the first page of the Create Distribution Wizard, click RTMP, and click Continue.
Specify settings for the distribution. For more information, see Values that You Specify When You Create or Update an RTMP Distribution.
Click Create Distribution.
After CloudFront creates your distribution, the value of the Status column for your distribution will change from InProgress to Deployed. If you chose to enable the distribution, it will then be ready to process requests. This should take less than 15 minutes.
The domain name that CloudFront assigns to your distribution appears in the list of distributions. The domain name also appears on the General tab for a selected distribution.