![MACROMEDIA FIREWORKS 2-USING FIREWORKS Use Manual Download Page 18](http://html1.mh-extra.com/html/macromedia/fireworks-2-using-fireworks/fireworks-2-using-fireworks_use-manual_3369208018.webp)
18
Using Edge and Origin Servers
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
/fcs/fpad?
code in the
XML.load()
URI tells the edge server that it needs to broadcast
an FPAD message using the URI named
uri
, as specified.
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.
Summary of Contents for FIREWORKS 2-USING FIREWORKS
Page 1: ...Using Flash Media Server Edge Servers ...
Page 4: ...4 Contents ...