Installation guide
When the video is played, the video le rst begins to download to the user’s hard drive, then
playback starts. e video will begin to play when enough of it has downloaded to the user’s hard
drive.eleisservedfromastandardwebserverthroughanHTTPrequest,justlikeanormal
web page or any other downloadable document.
Incomparisontostreamingvideo,there’sreallyonlyoneconsistentbenettoprogressive
download—youdon’tneedastreamingservertodeliverthevideo.Progressivedownloadvideo
can be served from any normal web server. While this can be convenient and potentially
cost-eective, you should keep in mind that progressive downloads have limited seek and
navigation capabilities and users can access and repurpose your content.
When to choose progressive download
Progressivedownloadisagoodchoiceforhobbyistsorwebsitesthathavelowtracrequire-
ments, if they don’t mind if their content is cached on a user’s computer, and they only need to
delivershorterlengthvideos(under10minutes).Youwillneedtostreamyourvideoifyouneed
advancedfeaturesandcontrolovervideodelivery,and/orifyouneedtodisplayvideotolarger
audiences(forexample,severalhundredsimultaneousviewers),trackandreportusageor
viewing statistics, or if you want to oer your viewers the best interactive playback experience.
Streaming delivery also consumes less bandwidth than progressive delivery, because only the
portion of the video that is watched is actually delivered.
Streaming delivery
eabilitytostreamvideoandaudiowasrstavailablewithFlashMX,FlashPlayer6,andFlash
CommunicationServerMX.
When you use streaming delivery, the video les are kept external to the other content, just like
progressivedownloads.DeveloperscanuseActionScriptcommands(andparametersettings
withmediacomponents)toloadexternalvideolesintoaSWFleandplaythembackat
runtime.Infact,theActionScriptcodeneededforstreamingisalmostidenticaltothatfor
progressive download.
However,instreamingvideo,eachclientopensapersistentconnectiontothestreamingserver,
and the server streams the video bits to the client. ose bits are displayed by the viewer and
then immediately discarded.
is tight connection between the server and the client, and the server’s ability to precisely
control and deliver any portion of a stream as requested, enables the developer to take advantage
of some advanced capabilities, including:
• Determiningtheclientbandwidthandservingastreamwithanappropriatebitrate.
• Measuringandtrackingthestream’squalityofdeliveryandswitchingtoalower(orhigher)
bitratestreamifneeded(forexample,ifnetworkcongestionincreases).
• Automaticallygeneratingthumbnailsorplayingshortpreviewsofyourvideoclipwithout
having to create separate images or video clips, and without downloading the entire video in
the background.
• Automaticallycreating“chapters”(withappropriatethumbnails)thatcanbeusedfornaviga-
tion of longer videos, without having to break the video into smaller les.
• Seemlesslyswitchingmidstreamfromonecameraangleoronestream,toanother.
• “Editing”videoclipstogethertocreateonecontinuousvideoforplayback.Forexample,you
couldplaytherst10secondsofclip1,followedbythecontentbetweenthe30-and40-second
marksofclip2,followedbythelast20secondsofclip3.
• Creatingwebcastliveeventsorrecordedeventswhereallviewersaccessthesamecontentatthe
same time.
12