Installation guide
FlashMediaEncoder2canalsobetightlyintegratedintoyourcurrentstreamingworkowwith
command-linecontrolbothlocallyandthrougharemoteconnectionviaMicrosoRemote
DesktopConnectionorVirtualNetworkingComputing(VNC).Amongotherpowerfulfeatures,
auto-restart aer power failures or other system restarts also helps ensure that your live streams
are reliably available. When using a device that can generate timecodes, you can also embed an
SMPTEtimecodeintothevideostream.
AsignicantbenetoverbroadcastingdirectfromtheFlashPlayer,FlashMediaEncoder2
allowsyoutobroadcastvideousingtheVP6codec.Youalsohavegreateraudiocontrolwith
bitrate-ecientNellymoserorMP3encoding.
FlashMediaEncoderisavailableasafreedownloadfromAdobe:
www.adobe.com/go/ashmediaencoder.
Data keyframes
New feature in Flash Media Streaming Server and Flash Media Interactive Server; requires Flash
Player 6 or later.
With the new data keyframe feature in Flash Media Server 3, metadata can be sent whenever a
new subscriber requests the stream. e metadata can also be updated at any time by dispatching
anewdatakeyframeviaserver-sideorclient-sideActionScript,orviaFlashMediaEncoder.is
new metadata is then received by all connected clients through the onMetadata event handler.
A data keyframe is a special data message that can be set to a live stream and stored in the
memoryoftheserver.Liketheotherdatamessages,adatakeyframecontainsahandlername
and a list of properties that store the data. ere is no limit to the number of data keyframes that
can be set. For security reasons, only the publisher and the server are allowed to set and clear the
data keyframes.
DatakeyframesaresentfromtheclientthroughNetStream.send() or Stream.send() in
theserver-sidescript.Twospecialmethods,@setDataFrame and @clearDataFrame are
denedtosetandclearthedatakeyframerespectively.Toavoidcollisionwithotherclient
dened methods, an @ sign is added to these methods.
Multipoint publish
New feature in Flash Media Streaming Server and Flash Media Interactive Server; requires Flash
Player 6 or later.
Anotherchallengeforlivebroadcastingisscalability.Duetothelimitationsofprocessor
resourcesornetworkbandwidth,oneservercanonlysupportaxednumberofsubscribers.To
support more simultaneous viewers, some of the trac needs to be handled by other servers.
Multipoint publish allows the broadcaster to publish to multiple servers with only one client-to-
server connection.
Inthepast,theAPIintheserver-sidescriptwouldonlyallowstreamingfromaremoteserverin
one direction through the use of server Stream and NetConnection objects. is made it
possibletoplayastreamfromaremoteserver.However,therewasnowaytoremotelypublish
astreamtoaremoteserverortoknowwhichstream(s)wereattemptingtobepublishedto
anotherserver,unlessone-to-oneconnectionsweremaintainedbetweenallservers.Inaddition,
due to restricted server-side script access on content delivery networks, stream republishing was
not possible.
WiththenewAPIsavailableinFlashMediaInteractiveServer3,broadcasterscandynamically
redirect streaming data to another server when necessary, without maintaining a persistent
connection betweenserversandwithoutcustomserver-sidecode.Newserver-sidenotication,
Publish and Unpublish events, are now available for those who require additional customization.
48