Top Banner
GETTING FAMILIAR WITH FLASH MEDIA SERVER Joseph Labrecque Online Flash User Group | March 13 th 2012
21
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Getting Started with Flash Media Server

GETTING FAMILIAR WITH FLASH MEDIA SERVER

Joseph Labrecque

Online Flash User Group | March 13th 2012

Page 2: Getting Started with Flash Media Server

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/

Page 3: Getting Started with Flash Media Server

Adobe FLASH MEDIA SERVER

Page 4: Getting Started with Flash Media Server

Flash Media Server 4.5.1 Reach more audiences by streaming RTMP and HTTP to Adobe Flash Player and iOS devices.

Page 5: Getting Started with Flash Media Server

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

Page 6: Getting Started with Flash Media Server

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?

Page 7: Getting Started with Flash Media Server

Configuring FMS

Page 8: Getting Started with Flash Media Server

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

Page 9: Getting Started with Flash Media Server

TESTING: RTMP, HDS, HLS

Page 10: Getting Started with Flash Media Server

ADMINISTRATION CONSOLE

Page 11: Getting Started with Flash Media Server

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

Page 12: Getting Started with Flash Media Server

Media PLAYBACK

Page 13: Getting Started with Flash Media Server

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

Page 14: Getting Started with Flash Media Server

STROBE MEDIA PLAYBACK

Page 15: Getting Started with Flash Media Server

HTML <VIDEO>

Page 16: Getting Started with Flash Media Server

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

Page 17: Getting Started with Flash Media Server

Usage EXAMPLES

Page 18: Getting Started with Flash Media Server
Page 19: Getting Started with Flash Media Server
Page 20: Getting Started with Flash Media Server

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

Page 21: Getting Started with Flash Media Server

Thank you.

@JosephLabrecque