Download - Getting Started with Flash Media Server
GETTING FAMILIAR WITH FLASH MEDIA SERVER
Joseph Labrecque
Online Flash User Group | March 13th 2012
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/
Adobe FLASH MEDIA SERVER
Flash Media Server 4.5.1 Reach more audiences by streaming RTMP and HTTP to Adobe Flash Player and iOS devices.
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…
TOPICS TO COVER
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)
WHAT CAN FMS DO?
Configuring FMS
Two steps: • Download from Adobe
http://www.adobe.com/cfusion/tdrc/index.cfm?loc=en_us&product=flashmediaserver
• Install to local machine Windows or Linux (no OSX)
LOCAL DEVELOPMENT SERVER
TESTING: RTMP, HDS, HLS
ADMINISTRATION CONSOLE
Default Applications directory (change via fms.ini): C:\Program Files\Adobe\Flash Media Server\applications
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>
APPLICATIONS DIRECTORY
Media PLAYBACK
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
PLAYBACK MECHANISMS
STROBE MEDIA PLAYBACK
HTML <VIDEO>
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
PLAYBACK URIs
Usage EXAMPLES
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/
MORE RESOURCES
Thank you.
@JosephLabrecque