11
Real Time Messaging Protocol RTMP

Real Time Messaging Protocol RTMP. Flash Streaming Server Flash Streaming Server communicates with its clients using the Adobe patented RTMP over TCP,

Embed Size (px)

Citation preview

Page 1: Real Time Messaging Protocol RTMP. Flash Streaming Server Flash Streaming Server communicates with its clients using the Adobe patented RTMP over TCP,

Real Time Messaging Protocol

RTMP

Page 2: Real Time Messaging Protocol RTMP. Flash Streaming Server Flash Streaming Server communicates with its clients using the Adobe patented RTMP over TCP,

Flash Streaming ServerFlash Streaming Server communicates with its clients using the Adobe patented RTMP over TCP,

which manages a two-way

connection,allowing the server to send and receive,video,audio,and data between client and server

Page 3: Real Time Messaging Protocol RTMP. Flash Streaming Server Flash Streaming Server communicates with its clients using the Adobe patented RTMP over TCP,

Configuration of RTMP

RTMP- Standard,unencrypted RTMP.

The default port is1935.

RTMPT- RTMP “tunneled” over HTTP

The default port is 80

RTMPS- RTMP sent over an SSL. SSL enables secure

TCP/IP connections. The default port is 443

RTMPE- Enhanced and encrypted version of RTMP.

RTMPTE- Encrypts the communication channel,

tunneling over HTTP

Page 4: Real Time Messaging Protocol RTMP. Flash Streaming Server Flash Streaming Server communicates with its clients using the Adobe patented RTMP over TCP,

Benefits of streaming

There are three methods for delivering video over the Internet using Adobe Flash Player:

• Progressive download

• Streaming

Page 5: Real Time Messaging Protocol RTMP. Flash Streaming Server Flash Streaming Server communicates with its clients using the Adobe patented RTMP over TCP,

Progressive download video delivery

progressive download has been supported for video delivery.

This method allows developers to load external video files into a Flash and play them back during runtime.

When the video is played, the video file first begins to download to the user’s hard drive, then playback starts. The video begins to play when enough

Page 6: Real Time Messaging Protocol RTMP. Flash Streaming Server Flash Streaming Server communicates with its clients using the Adobe patented RTMP over TCP,

Streaming delivery

Streaming video, each client opens a persistent connection to the streaming server,

and the server streams the video bits to the client. Those bits are displayed by the viewer and then immediately discarded

Page 7: Real Time Messaging Protocol RTMP. Flash Streaming Server Flash Streaming Server communicates with its clients using the Adobe patented RTMP over TCP,

Why streaming is better

Progressive download is a simple method of video delivery with very little control—it’s basically a simple HTTP download call.

Streaming is a method that allows the publisher to control every aspect of the video experience.

Page 8: Real Time Messaging Protocol RTMP. Flash Streaming Server Flash Streaming Server communicates with its clients using the Adobe patented RTMP over TCP,

Why streaming is better

• Fast start—Streaming video is the fastest way to start playing any video on the web.

• Advanced video control—Features such as bandwidth detection, quality-of-service monitoring.

• Minimal use of client resources—Resources such as memory and disk space are significantly

reduced with streaming, because the clients do not need to download and store the entire file.

Page 9: Real Time Messaging Protocol RTMP. Flash Streaming Server Flash Streaming Server communicates with its clients using the Adobe patented RTMP over TCP,

Why streaming is better

• Full seek and navigation—Users can seek to any point in the video and have it start playing

immediately from that point.

• Live video—Streaming provides the ability to deliver live video and audio from any connected

Page 10: Real Time Messaging Protocol RTMP. Flash Streaming Server Flash Streaming Server communicates with its clients using the Adobe patented RTMP over TCP,

When to choose streaming

• Deliver files longer than 30 seconds or larger than 100Kbps

• Perform bandwidth detection, allowing you to deliver the best quality video for the available hardware

• Monitor quality-of-service

• Perform real-time tracking

Page 11: Real Time Messaging Protocol RTMP. Flash Streaming Server Flash Streaming Server communicates with its clients using the Adobe patented RTMP over TCP,

When to choose streaming

• Provide real-time data sharing and interactivity to your video experiences

• Stream live video and audio

• Serve more streams with less bandwidth