This shows how to do RTMP streaming from the Amazon CloudFront CDN. To configure Flowplayer for CloudFront you need to do two things:
- Set the clip URL to point to your video file in your Amazon S3 bucket.
- Configure the RTMP plugin's
netConnectionUrlto point to your CloudFront domain.
Amazon has a great tutorial on how to set up Flowplayer streaming with Cloudfront.
The clip URL is defined in the
href below. This corresponds to the video
file name and location in the Amazon S3 bucket. In this example the file is
located in a directory called
examples. If the file was located in the
bucket's root the
href value would simply be
CloudFront uses the Adobe's FMS server (Flash Media Server) and FMS does not like the file extension in the clip's URL so you should not include it in the clip URL value. So we have 'flowplayer-700' even when the file is actually named 'flowplayer-700.flv' in our bucket.
We use the RTMP plugin to stream from the RTMP servers running in the Amazon
netConnectionUrl value contains your CloudFront domain name
followed by characters