Getting Started with Flash Media Server

3,246 views
3,086 views

Published on

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
3,246
On SlideShare
0
From Embeds
0
Number of Embeds
1,022
Actions
Shares
0
Downloads
32
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Getting Started with Flash Media Server

  1. 1. GETTING FAMILIAR WITHFLASH MEDIA SERVERJoseph Labrecque Online Flash User Group | March 13th 2012
  2. 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/
  3. 3. Adobe FLASH MEDIA SERVER
  4. 4. Flash Media Server 4.5.1Reach more audiences by streaming RTMPand HTTP to Adobe Flash Player and iOSdevices.
  5. 5. TOPICS TO COVERWe’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. 6. WHAT CAN FMS DO?Streaming live and on-demand audio and video todesktop 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)
  7. 7. Configuring FMS
  8. 8. LOCAL DEVELOPMENT SERVERTwo 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)
  9. 9. TESTING: RTMP, HDS, HLS
  10. 10. ADMINISTRATION CONSOLE
  11. 11. APPLICATIONS DIRECTORYDefault Applications directory (change via fms.ini):C:Program FilesAdobeFlash Media ServerapplicationsDefault 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>
  12. 12. Media PLAYBACK
  13. 13. PLAYBACK MECHANISMSFLASH PLAYER or AIR:Used in browser, desktop, and mobile.OSMF, Strobe Media Playback, many others…Browser: Requires Flash PlayerHTML Video Tag:Used in OSX and iOS… for now.Browser: Requires HTML <video> and proper codec support
  14. 14. STROBE MEDIA PLAYBACK
  15. 15. HTML <VIDEO>
  16. 16. PLAYBACK URIsDepending upon the media being streamed and thetarget client, the URI must be formed differently.RTMP:rtmp://localhost/vod/samplertmp://localhost/vod/mp4:sample.f4vHDS:http://localhost/hds-vod/test/streams/_definst_/sample.f4v.f4mHLS:http://localhost/hls-vod/test/streams/_definst_/sample.f4v.m3u8
  17. 17. Usage EXAMPLES
  18. 18. MORE RESOURCESLinks 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/
  19. 19. Thank you.@JosephLabrecque

×