administrator
Administrator

Posts: 127
|
RTMP is a protocol used by the Flash Player to deliver real time objects, video, and audio to clients using a binary TCP connection or polling HTTP tunnel.
Well, thats the definition.
In simpler terms, RTMP allows for FLV videos to be played direclty "on" the streaming server, and connected to by using a Flash (swf) Player
The Flash Player browser plugin can play an FLV, but that FLV, must be either embedded in or linked to a SWF. That is, you can't just put the actual FLV on an HTML page. You can however reference the FLV file using action script and SWF (the player controls) which now opens up the door to brand your player, add colors and logos, skins, and links to further information.
Flash Player, the embedded plugin that is in 98% of all internet browsers, and allows playback of Flash SWF files. It is a preferred method because there is no need for a 3rd party download such as Real Player WMP, or Quicktime.
Recent additions have now included playback of an FLV video file. This separates the SWF from the video so allowing faster playback.
Another important difference between progressive streaming and Server Side Media streaming is the Player (SWF) The Streaming Server (RTMP) needs the addition of action scripting or "flash vars" to communicate to the server properly.
If your web skills imit you from making your own RTMP Streaming player using Dreamweaver or Flash 8, you can use our players, available for purchase as a SWF file or complete editable FLA files.
What does RTMP look like?
Well, it looks like an http URL but its not, and is not connected to directly like a website
its the "path" needed by the SWF Flash Player to know where the server is, and what the video name is in order to connect to
example
rtmp:/serverdomain/yourvideos
The protocol is a container for data packets which may be AMF or raw audio/video data like found in the Flash Video (FLV).
A single connection is capable of multiplexing many net streams using different channels. Within these channels packets are split up into fixed size body chunks.
Sample ActionScript (sometimes referred to as flash vars )for connecting and playing a stream:
var videoInstance:Video = your_video_instance;
var nc:NetConnection = new NetConnection();
var connected:Boolean = nc.connect("rtmp:/localhost/myapp" ;
(NOTE: -- this is where your rtmp setting goes)
var ns:NetStream = new NetStream(nc);
videoInstance.attachVideo(ns);
ns.play("flvName" ;
Default port is 1935
related information where its all done for you
http://flvhosting.com/codegenerator
Got any players where RTMP is needed?
Yes
Free downloads - unzip the files, open the README file to see how they work in the XML settings, where to put your RTMP setting
http://www.flvhosting.com/index.php?sc=18&nid=63
http://www.flvhosting.com/index.php?sc=18&nid=61
http://www.flvhosting.com/index.php?sc=18&nid=60
[urlhttp://www.flvhosting.com/index.php?sc=18&nid=55[/url]
When you ask what is rtmp://
also look for Flash Media Server, Wowza Media Server
It is no problem to stream video instantly especially large videos or HiDef such as from Hi Def Canon or Sony camcorders
<a href=http://flvhosting.com>Flv Hosting</a>
|