EasyManua.ls Logo

Adobe MEDIA SERVER - Page 41

Adobe MEDIA SERVER
42 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
38
USING ADOBE MEDIA SERVER ON AMAZON WEB SERVICES
Using Adobe Media Server on Amazon Web Services
Last updated 9/20/2013
Configure an application
All applications use the default configuration files located in the following directory:
/opt/adobe/ams/conf
To configure a single application, copy an Application.xml file to the applications’s directory. For example, to
configure myapplication, copy the Application.xml file to the following location:
/mnt/applications/myapplication/Application.xml
You can place an Application.xml file in an application’s folder. Values set in the application-level Application.xml file
override the values in the vhost-level Application.xml file. The vhost-level Application.xml file configures all
applications in a vhost (virtual host). By default, an instance has one virtual host. The vhost-level file is located here:
/opt/adobe/ams/conf/_defaultRoot_/_defaultVHost_/Application.xml
To see an example of configuring a single application, look at the vod and live applications included with Adobe Media
Server. Navigate to /mnt/applications/vod and /mnt/applications/live. Each folder contains an Application.xml file.
The values in these files override the values in the vhost-level file.To prevent settings in the vhost-level Application.xml
settings from being overridden by the application-level Application.xml file, add an override attribute to a tag and set
it to
"no", as in the following:
<LoadOnStartup override="no">false</LoadOnStartup>
When override="no" for an element in a vhost-level Applcation.xml file, you cannot override that element, or any
elements contained within that element, in an application-level Application.xml file.
Connect to an application
To connect to the application, use the ActionScript 3.0 NetConnection class:
netconnection.connect(protocol://public-dns/myapplication)
The value of protocol can be any protocol supported by Adobe Media Server. For a complete list, see the Adobe Media
Server Technical Overview.
The value of public-dns is the public DNS entry of the instance. To find this value, select the instance in the AWS
Management Console and look in the details pane.
The value of myapplication is the name of the folder you created in the /mnt/applications directory.
For more information about connecting to an application and streaming media, see Developing streaming media
applications in Adobe Media Server Developer’s Guide.
For a complete ActionScript reference, see ActionScript 3.0 Reference for Flash Platform.
Check out Graeme Bull’s Adobe Media Server video tutorials at fmsguru.com.
Record a live event
You can record archives of live events just as you would with any edition of Adobe Media Server that supports
recording. To store the archives, copy them from the instance to a storage volume (either EBS or S3) before you stop
or terminate the instance.
To record a live stream, use the DVRCast application. For more information, see Live streaming with DVR” on
page 12.

Related product manuals