Getting Started with Flash Media Server
- 2. WHO AM I?
Joseph Labrecque, MA
University of Denver - OTL
Senior Interactive Software Engineer
Adjunct Faculty
Fractured Vision Media, LLC
Proprietor
Twitter: @JosephLabrecque
Web: http://josephlabrecque.com/
- 4. Flash Media Server 4.5.1
Reach more audiences by streaming RTMP
and HTTP to Adobe Flash Player and iOS
devices.
- 5. TOPICS TO COVER
We’ll plan to cover the following topics:
• What can FMS do?
• Setting up a local development server
• Testing RTMP, HDS, and HLS
• Using the Admin Console
• The Applications directory
• Playback options across platforms
• Look at some examples…
- 6. WHAT CAN FMS DO?
Streaming live and on-demand audio and video to
desktop and device:
• RTMP (Real Time Messaging Protocol)
• RTMPS (Real Time Messaging Protocol SSL)
• RTMPE (Real Time Messaging Protocol Encrypted)
• RTMPT (Real Time Messaging Protocol Tunneling)
• HDS (HTTP Dynamic Streaming)
• HLS (HTTP Live Streaming)
- 8. LOCAL DEVELOPMENT SERVER
Two steps:
• Download from Adobe
http://www.adobe.com/cfusion/tdrc/index.cfm?loc=en_u
s&product=flashmediaserver
• Install to local machine
Windows or Linux (no OSX)
- 11. APPLICATIONS DIRECTORY
Default Applications directory (change via fms.ini):
C:Program FilesAdobeFlash Media Serverapplications
Default FMS Applications:
live, livepkgr, multicast, vod …create your own!
Map applications directory in Apache for HDS/HLS (httpd.conf):
<Location /hlstest-vod>
HLSHttpStreamingEnabled true
HLSMediaFileDuration 8000
HttpStreamingContentPath "../applications"
HLSFmsDirPath "..”
Options -Indexes FollowSymLinks
</Location>
- 13. PLAYBACK MECHANISMS
FLASH PLAYER or AIR:
Used in browser, desktop, and mobile.
OSMF, Strobe Media Playback, many others…
Browser: Requires Flash Player
HTML Video Tag:
Used in OSX and iOS… for now.
Browser: Requires HTML <video> and proper codec support
- 16. PLAYBACK URIs
Depending upon the media being streamed and the
target client, the URI must be formed differently.
RTMP:
rtmp://localhost/vod/sample
rtmp://localhost/vod/mp4:sample.f4v
HDS:
http://localhost/hds-vod/test/streams/_definst_/sample.f4v.f4m
HLS:
http://localhost/hls-vod/test/streams/_definst_/sample.f4v.m3u8
- 20. MORE RESOURCES
Links to check out for more info:
• Adobe Developer Connection
http://www.adobe.com/devnet/flashmediaserver.html
• Lisa Larson-Kelley
http://learnfromlisa.com/
• Stefan Richter
http://www.therealtimeweb.com/
• Robert Reinhardt
http://blogs.flashsupport.com/robert/
• Fabio Sonnati
http://sonnati.wordpress.com/
• Jens Loeffler
http://www.flashstreamworks.com/