flash media server
DESCRIPTION
Review of Flash Media Server FeaturesTRANSCRIPT
Flash Media Server Family
www.dsp-ip.comFast Forward Your Development
By Avi Tzurel
DSP-IP
Agenda
• Intro
• Media Servers
▫ Understanding what is a media server
▫ The role of a media server in the world of web 2.0
• Flash Media Server
▫ What is flash media server
www.dsp-ip.comFast Forward Your Development
▫ What is flash media server
� What types of media server we have
▫ Examples for products and websites using FMS
▫ Scaling options
▫ New features
▫ Questions…
Intro
• Online video is absolutely trending right now
• Many websites use video as a primary service
▫ You-tube
▫ MetaCafe
▫ Many more…
www.dsp-ip.comFast Forward Your Development
Intro
• 80% of online video is played using Flash technologies
• Cross platform
• Cross browser
www.dsp-ip.comFast Forward Your Development
Intro
www.dsp-ip.comFast Forward Your Development
What is a media server
• What is a media server
▫ Open socket server
▫ Persistent connection with client
▫ On that connection
� Stream audio
� Stream video
www.dsp-ip.comFast Forward Your Development
� Stream video
� Stream text / data
What is a media server
• The role of the media server in the web 2.0 world
▫ The ability to stream audio and video to the users with ease
▫ Record user camera and audio
www.dsp-ip.comFast Forward Your Development
▫ Chat’s
▫ E-Learning
▫ Music websites
Media server family
www.dsp-ip.comFast Forward Your Development
So…. Let’s dive inside
• Encode
• Protect
• Stream
• Playback
www.dsp-ip.comFast Forward Your Development
Encode
• Adobe media live encoder
• Used for encoding high quality video for
▫ Sport events
▫ Concerts
▫ Webcasting
▫ News
www.dsp-ip.comFast Forward Your Development
▫ News
▫ Educational Events
Features / Advantages
• Multiple bitrate encoding
▫ You can encode up to 3 streams in multiple bitrate
▫ Supported by Flash media server 3.5
• System Timecode
▫ Add system timecode to the video MetaData
www.dsp-ip.comFast Forward Your Development
▫ Add system timecode to the video MetaData
• Intuitive user interface
• Support for on2’s VP6 and H.264
Features / Advantages
• Support for Nellymoser and MP3
▫ You can also use MainConcept plugin and enjoy the support for AAC and HE-AAC
www.dsp-ip.comFast Forward Your Development
Adobe media live encoder
www.dsp-ip.comFast Forward Your Development
Adobe media live encoder
www.dsp-ip.comFast Forward Your Development
Adobe media live encoder
www.dsp-ip.comFast Forward Your Development
Who uses it?
www.dsp-ip.comFast Forward Your Development
Ustream – The process
• Learn more on how they did it…
▫ http://www.ustream.tv/higher-quality
www.dsp-ip.comFast Forward Your Development
Protect
• Adobe Flash Access
▫ Protected content management and delivery system
▫ Supports a wide range of business models
� Video On Demand
� Rental
www.dsp-ip.comFast Forward Your Development
� Rental
▫ You can deliver content through Flash Media Server or simply through progressive download over HTTP
Protect
www.dsp-ip.comFast Forward Your Development
Stream
• The flash media server family has 2 main products for streaming content to users
▫ Flash Media streaming server
▫ Flash Media Interactive Server
www.dsp-ip.comFast Forward Your Development
Stream
999$ 4500$
www.dsp-ip.comFast Forward Your Development
Stream
• Comparison of the 2▫ http://www.adobe.com/products/flashmediaserver/compare/
www.dsp-ip.comFast Forward Your Development
Stream
• Versions history
▫ 1.0 released 9 July 2002
▫ 1.5 released 27 March 2003
▫ 2.0 released November 15 2005
� Renamed to FMS and versions not reset
� New coded On2’s VP6 in flash player 8 for the first
www.dsp-ip.comFast Forward Your Development
� New coded On2’s VP6 in flash player 8 for the first time
▫ 3.0 released 4 December 2007
▫ 3.5 released 13 January 2009
▫ 3.6 now in beta (closed beta)
Stream
• The competition
▫ RED5
� Less protocols
� No support for H.264
� No AMF3 support
� Relatively unreliable
www.dsp-ip.comFast Forward Your Development
� Relatively unreliable
▫ WOWza
� Less Protocols
� Java server side – not AS
Features
• Flash media streaming server
▫ Dynamic streaming
� Offer content to users based on their network ability, deliver top-quality content to high volume network users and lesser quality to others.
www.dsp-ip.comFast Forward Your Development
▫ Integrated HTTP
� When RTMP is not available you can use http
Features
• Plug and play functionality
▫ Install and play in minutes
www.dsp-ip.comFast Forward Your Development
package{import flash.net.NetConnection;
import flash.display.Sprite;import flash.text.TextField;import flash.events.NetStatusEvent;
public class FMS3Connect extends Sprite{
private var nc:NetConnection;private var rtmpNow:String;private var msg:String;private var connectText:TextField;private var posX:Number;
function FMS3Connect (){
nc=new NetConnection();nc.addEventListener (NetStatusEvent.NET_STATUS,checkConnect);rtmpNow="rtmpe://192.168.0.11/connect";//rtmpNow="rtmpe:/connect";nc.connect (rtmpNow);
www.dsp-ip.comFast Forward Your Development
}private function checkConnect (event:NetStatusEvent):void{
connectText=new TextField();msg=event.info.code;connectText.width=250;connectText.text=msg;addChild (connectText);posX=connectText.stage.stageWidth;connectText.x=(posX/2)-((msg.length/2)*(6));connectText.y=175;
}}}
So… What can you do
• There’s almost no limit to what you can do with the Flash Media Server Family
www.dsp-ip.comFast Forward Your Development
Flash Media Server
• Create Games
www.dsp-ip.comFast Forward Your Development
Flash media server
• Create Games
www.dsp-ip.comFast Forward Your Development
Flash Media Server
• Rich video applications
www.dsp-ip.comFast Forward Your Development
Flash Media server
• Rich Audio websites
www.dsp-ip.comFast Forward Your Development
Flash Media Server
• Chat rooms
www.dsp-ip.comFast Forward Your Development
Flash Media Server
• Let’s watch some more…
www.dsp-ip.comFast Forward Your Development
Flash Media Server
• Movie #1
▫ Uses flash media server 3.6
▫ Remote object to show the mouse moves on the screen
▫ Video streaming
▫ Audio streaming
www.dsp-ip.comFast Forward Your Development
▫ Audio streaming
▫ Online chat
▫ Remote web-service consuming
Flash Media Server
• Movie #2
▫ Online music portal
▫ Streaming audio files
▫ Online video and audio signature for protection
▫ Limitations and security rules
www.dsp-ip.comFast Forward Your Development
Flash Media Server
• Movie #3
▫ Online E-learning system
▫ Remote object for mouse sharing
▫ Online drawing on canvas and on presentation
▫ User control by the admin
▫ Streaming of audio and video
www.dsp-ip.comFast Forward Your Development
▫ Streaming of audio and video
Flash media server
• Ustream
▫ Ustream website
� http://www.ustream.com
▫ Using flash media server for distributing data and video
www.dsp-ip.comFast Forward Your Development
Flash Media Server
• More cool features…
• Record video and audio from user’s camera
www.dsp-ip.comFast Forward Your Development
Flash Media Server
• More cool features…
www.dsp-ip.comFast Forward Your Development
Flash Media Server
www.dsp-ip.comFast Forward Your Development
More features…
• Plug-in architecture
▫ Integrate with other servers, services, architectures
• Mpeg4 recording
• AMF3 support
▫ Data sharing
www.dsp-ip.comFast Forward Your Development
▫ Data sharing
• Deliver video to mobile devices
▫ Encode video to flash lite 3
More features…
• Logging
• DVR
▫ Pause a live stream
▫ Seek back to another point
▫ Big brother Israel
www.dsp-ip.comFast Forward Your Development
Target Audiences
• Enterprise
• Government
• Education
• Broadcast and entertainment
• Social media
• Interactive advertising
www.dsp-ip.comFast Forward Your Development
• Interactive advertising
Enterprise
• Training
• Corporate communications
• Marketing
• Human resources briefs
• Quarterly updates
• Support
www.dsp-ip.comFast Forward Your Development
• Support
Government
• Town hall meetings
• Training
• eLearning
• Live events
• Press conferences
• Secure media players
www.dsp-ip.comFast Forward Your Development
• Secure media players
Education
• Journalism
• Remote guest speakers
• Course curriculums
• Live sporting events
• Student government communications
• Rights-managed video downloads
www.dsp-ip.comFast Forward Your Development
• Rights-managed video downloads
Broadcast and entertainment
• Live event broadcasts
• Streaming TV broadcasts
• Rights-managed video downloads
• In-stream viewer comments
• Dynamic playlists
• Branded desktop media players
www.dsp-ip.comFast Forward Your Development
• Branded desktop media players
Social Media
• Live text and webcam chat rooms
• Customer support
• User-generated video
• VoIP services
• Video rating and live commenting
• Multiplayer games
www.dsp-ip.comFast Forward Your Development
• Multiplayer games
Interactive advertising
• HD video banners
• Interactive hotspots
• Promotional games
• Dynamic ad insertion
• Product demos
• Branded rich Internet applications
www.dsp-ip.comFast Forward Your Development
• Branded rich Internet applications
High Volume?
• Flash media server supports amazingly high volumes of traffic.
• How many users do you have?
www.dsp-ip.comFast Forward Your Development
High Volume?
• Thousands?
www.dsp-ip.comFast Forward Your Development
High Volume?
• User reaches the “edge” server.
• The edge server functions as a proxy between the origin server and the client.
• The origin server’s role is to control
www.dsp-ip.comFast Forward Your Development
• The origin server’s role is to control Authentication and to host the files.
High Volume?
• Millions?
www.dsp-ip.comFast Forward Your Development
High Volume?
• User reaches a cluster or load balancer.
• This cluster can be a self healing cluster
www.dsp-ip.comFast Forward Your Development
High Volume?
• Monitor
www.dsp-ip.comFast Forward Your Development
3.6 features
• P2P Video
• P2P Audio
www.dsp-ip.comFast Forward Your Development
Questions…
www.dsp-ip.comFast Forward Your Development
Contact Us
• Yossi Cohen
▫ 09-8850956, 0545313097
• Avi Tzurel
www.dsp-ip.comFast Forward Your Development
▫ 09-8850956, 054-5960553