aiCache Wiki‎ > ‎

Adobe Live Streaming Server

This Wiki page will explain the Adobe Flash Media Server Set Up on Amazon AWS with aiCache for Live Streaming. AWS has already a template to provide you with a CloudFormation for Adobe Flash Media Server, they are good on providing the video stream all over their network with Amazon CloudFront.
Problem arises to deliver the small XML manifest file to the users across CloudFront. Here is where aiCache comes at help, it will deliver on-the-fly the XML manifest file providing neat live streaming to any client with Adobe Flash Media Server.

Instructions to create a CloudFormation Stack for AWS are described very good in the following page: http://docs.amazonwebservices.com/AmazonCloudFront/latest/DeveloperGuide/LiveStreamingUsingAmazonCloudFront.html. We will provide the steps specific to aiCache set up, everything else can be followed from the Amazon guide.

At the Creating an AWS CloudFormation Stack for Live Streaming step you should select "Upload a Template File" option and provide the aicacheAdobeTemplate.txt file attached at the end of this page, like in the screenshot below:

AWS CloudFormation with aiCache and Adobe Live Streaming Server


    Next fill the options requested:


KeyPair - this will be the key pair used to connect to the Adobe Flash Media Server instance, this key pair must have been already created in your account;
aiCacheKeyPair - this will be the key pair used to connect to the aiCache instance, this key pair must have been already created in your account;
DNSDomain - this will be the domain name that will be used for the live streaming, this domain name should be already set up on Amazon Route 53 as explained in the AWS guide provided earlier;

At the next step check that you entered the correct information and click Continue to start creating the Stack.

Your stack may take several minutes to create. To track the progress of the stack creation, select the stack, and click the Events tab in the bottom frame. If AWS CloudFormation cannot create the stack, the Events tab lists error messages.

When your stack is ready, in the top frame, the status for the stack changes to CREATE_COMPLETE.

When your stack is created, click the Outputs tab, which displays the stack creation outputs. You will use these values when you set up Adobe Flash Media Live Encoder, later in the process:
aiCacheServer - this will be the public IP address of the aiCache server;
FMSServerIP - this will be the public IP address of the Adobe Flash Media server;



Next follow the process to create live streaming, but later in the guide, for the FMS URL, use the following instead of rtmp://companymeeting.example.com/livepkgr

rtmp://FMSSERVERIP/livepkgr


Like in the image below, but replace the 107.22.26.243 IP with the IP you have in the Outputs tab for the FMSServerIP entry




At the bottom of the page you have also the basic example configuration for the Flash Media Server Live Streaming. It is set to cache only the XML manifest file. Of course it can be changed to suit any caching needs with aiCache.



Č
ċ
ď
aicacheAdobeTemplate.txt
(12k)
Roman Doroschevici,
Feb 6, 2012 1:30 PM
ċ
ď
defaultAicacheFMS.txt
(5k)
Roman Doroschevici,
Feb 6, 2012 2:47 PM