Installation guide
How Flash Media Server 3.5 works
Flash Media Server solutions have both a server-side and a client-side architecture. e client
experienceisdeployedasaSWForAIRle,createdineitherFlashorFlex.Clientsrunwithina
webbrowser(FlashPlayer),mobiledevice(FlashLite3),orasadesktopapplication(AdobeAIR).
AclientcouldalsobeanotherFlashMediaServerorAdobeColdFusion®8,AdobeFlashMedia
LiveEncoder,orlicensedthird-partytechnologythatcanstreamorcommunicatewithFlash
Media Server. e server manages client connections and security, reads and writes to the
server’s le system, and performs other tasks.
e client is the initiator of the connection to the server. When connected, the client can
communicatewiththeserverandwithotherconnectedclients.Clientsconnecttoinstances of
applications;forexample,achatapplicationmayhavemanyrooms.Eachroomisaninstance
of the chat application. Multiple instances of an application can be running simultaneously.
Eachapplicationinstancehasitsownuniquenameandprovidesuniqueresourcestoits
connected clients.
Flash Media Server communication protocol (RTMP)
Flash Media Server communicates with its clients using the Adobe patented RTMP over
TransmissionControlProtocol(TCP),whichmanagesatwo-wayconnection,allowingtheserver
tosendandreceivevideo,audio,anddatabetweenclientandserver.InFlashMediaServer3.5,you
alsohavetheoptiontousestrongerstreamsecuritywithencryptedRTMP(RTMPE).RTMPEis
easytodeployandfasterthanusingSecureSocketLayer(SSL)forstreamencryption.RTMPE
is just one of the robust new security features in Flash Media Server 3.5.
ere are ve congurations of RTMP with Flash Media Server 3.5:
• RTMP—Standard,unencryptedRTMP.edefaultportis1935.Ifaportisnotspecied,the
client attempts to connect to ports in the following order: 1935, 443, and then via RTMPT on
port80.Port1935isaregisteredIANAport.
• RTMPT—RTMP“tunneled”overHTTP.eRTMPdataisencapsulatedasvalidHTTPdata.
edefaultportis80.
• RTMPS—RTMPsentoveranSSL.SSLenablessecureTCP/IPconnections.FlashMediaServer
nativelysupportsbothincomingandoutgoingSSLconnections.edefaultportis443.
• RTMPE—EnhancedandencryptedversionofRTMP.RTMPEisfasterthanSSL,anddoesnot
requirecerticatemanagementasSSLdoes.IfyouspecifyRTMPEwithoutexplicitly
specifying a port, the Flash Player scans ports, just as it does with standard RTMP, in the
followingorder:1935,443,80,and80(RTMPTE)(supportedwithFlashPlayer9,0,115,0or
later;AdobeAIR;andAdobeMediaPlayer).
• RTMPTE—Encryptsthecommunicationchannel,tunnelingoverHTTP.edefaultportis80
(supportedwithFlashPlayer9,0,115,0orlater;AdobeAIR;andAdobeMediaPlayer).ekey
benetsoverSSL(RTMPS)areperformance,easeofimplementation,andlimitedimpacton
server capacity.
Utilizing the appropriate RTMP type, Flash Media Server can send streams through all but the
most restrictive rewalls, and help protect rights-managed or sensitive content from piracy.
9