Installation guide
InpreviousversionsofFlashMediaServer,utilizinganSSLwastheonlyoptiontoencryptyour
streamdata.However,thisresultedinanoticeablyslowerconnection.enewRTMPEinFlash
MediaServer3securesthechannelwith128-bitencryptionbetweentheclientandtheserver
withouttheperformancedegradationofSSL,andwithouttheneedforacerticate.
SimilartotheimplementationofSSL(RTMPS),you’llonlyneedtospecifyRTMPEinyour
client’s connection string to utilize the protocol. For example:
nc.connect(“rt mpe://w w w.exa mple.com/myApplication”)
RTMPEbehavesexactlylikeRTMP,butisencrypted.Additionally,youcanrequestanencrypted
tunnelingconnectionbyspecifyingRTMPTE.
Built-in bandwidth detection
New feature in Flash Media Streaming Server and Flash Media Interactive Server; requires Flash
Player 6 or later.
Bandwidth detection is built into Flash Media Server, and is enabled by default. e new
bandwidth detection, called native bandwidth detection, provides better performance and
scalabilitythanscriptedbandwidthdetection.Tousenativebandwidthdetection,simplymake
sure bandwidth detection is enabled, and write client code that calls functions built into Flash
MediaServer.isfeatureiscompatiblewithActionScript2and3,andnoserver-sidecode
is required.
You can also choose to disable native bandwidth detection and implement detection in a
server-sidescript,especiallyifyouwanttoreuseexistingcode.Touseserver-sidebandwidth
detection, use the specialized main.asc le Adobe provides for bandwidth detection and
disable native bandwidth detection in the Application.xml le. For more information, refer
to the Adobe Flash Media Interactive Server 3 Developer Guide.
Process scopes
New feature in Flash Media Interactive Server; requires Flash Player 6 or later.
FlashMediaInteractiveServer3givesyoucontroloverhowserverprocessesareallocated.When
you start the server, you are starting a process called FMSMaster.exe(Windows)or
fmsmaster (Linux).ApplicationinstancesruninprocessescalledFMSCore.exe(Windows)
or fmscore(Linux).
Flash Media Server operates with multiple processes. With the default installation, there will be
four processes running: master,Edge,core, and admin.
e master process is a monitor that starts core processes when necessary. ere can only be one
master process running at a time, but there can be many core processes running at a time. You
can congure how applications are assigned to server processes in the Application.xml le.
You can specify the number of processes, the process scope, how long a process runs, and the
number of process failures allowed before a core process is disabled.
ClientsalwaysconnectthroughtheEdgeprocess(whetheranEdge/Origincongurationexists
ornot).emasterprocessisresponsibleforspawningandrollingovereachcoreprocess.
Clientsneverconnecttothemasterprocess,andthemasterprocesscannotbecongured.e
followinggureillustratesthemaster,core,andEdgeprocesses.
20