Setting Up Origin And Proxy Servers - MACROMEDIA FLASH MEDIA SERVER 2-USING FLASH MEDIA SERVER EDGE SERVERS Use Manual

Using flash media server edge servers
Hide thumbs Also See for FLASH MEDIA SERVER 2-USING FLASH MEDIA SERVER EDGE SERVERS:
Table of Contents

Advertisement

7.
The client then uses the information to make an explicit connection: first to the edge, then
to the origin server using a wrapped URI:
nc = new NetConnection();
nc.onStatus = function(info)
{
trace(info.code);
}
uri = "rtmp://yourcompany.com/app/inst";
myXML = new XML();
myXML.onLoad = function(success)
{
if (success)
{
var proxy = this.childNodes[1].childNodes[1].firstChild.nodeValue;
uri = "rtmp://" + proxy + "/?" + uri;
}
nc.connect(uri);
}
myXML.load("http://yourcompany.com/fcs/fpad?uri=" + uri);
The
code in the
/fcs/fpad?
an FPAD message using the URI named

Setting up origin and proxy servers

Use the following guidelines as you install and configure the origin and proxy servers. Using
these guidelines helps ensure satisfactory performance and results:
Make sure your Macromedia license permits you to use proxy servers or a proxy cluster.
Deploy all proxy and origin servers on identical computers.
Use the same operating system (Linux or Windows) on all computers to avoid conflicts
with filenames.
Linux uses case-sensitive filenames; filenames on Windows are case-insensitive.
Install Flash Media Server on the first server.
Configure this instance of Flash Media Server as an origin server.
Install and configure Flash Media Server on all of the edge or proxy servers that your
license permits.
Make sure the fms.ini file is customized on each origin and proxy.
The fms.ini file is machine-specific.
Configure the origin server to listen on one port; you can configure proxies to listen on
one or multiple ports.
Verify that all proxies can access the origin server.
18
Using Edge and Origin Servers
URI tells the edge server that it needs to broadcast
XML.load()
, as specified.
uri

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash media server 2

Table of Contents