Routing Information; Connecting To An Edge Server - 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

For example, if your applications are running on fms-secure.foo.com, you can direct the
connection requests from clients' devices or computers to the proxy server (or virtual host)
called fms.foo.com
,
applications are running. The client is not aware that its request is being sent to another
server.

Routing information

The Flash Media Server or network administrator specifies the routing information for a
proxy or edge server in the
Administrators use the Vhost.xml file to configure how and where to route connections to the
desired destination.
The
attribute in the
protocol
connection. This attribute must be set to either "rtmp" or "rtmps" to indicate a nonsecure or
secure connection.
The
container tag holds all the
RouteTable
container may hold one
RTMP, and another
RouteEntry
protocol is not specified, the outgoing connection uses the same protocol as the incoming
connection.
For detailed information on these routing tags, see "Vhost.xml file" in Managing Flash Media
Server.

Connecting to an edge server

Clients can explicitly connect to a specific edge server when they know it is available. You use
a URI in a wrapped format to make the connection to an explicit proxy:
rtmp://edge/?rtmp://origin/app
You can also connect to a chain of proxies by forming a string that routes the outgoing
connection requests through a sequence of explicitly identified proxies:
rtmp://edge1/?rtmp://edge2/?rtmp?://edge3/?rtmp://edge4/?rtmp://origin/app
As the connection moves through each edge in the chain, Flash Media Server drops the first
token in the string. After making the connection to
rtmp://edge2/?rtmp?://edge3/?rtmp://edge4/?rtmp://origin/app
12
Using Edge and Origin Servers
which makes the connection to fms-secure.foo.com
tags of the Vhost.xml configuration file.
RouteEntry
RouteEntry
tag to specify a secure outgoing connection by using
RouteEntry
tag that specifies the nonsecure RTMP connection. If a
tag specifies the protocol of the outgoing
tags. For example, the
RouteEntry
, the connection string changes to:
edge1
where your
,
RouteTable

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash media server 2

Table of Contents