Flash video player, Flash templates, Videos, Entertainments, etc
RSS icon Email icon Home icon
  • Introduction of RTMP(Real Time Messaging Protocol)

    Posted on July 21st, 2009 Toby 37 comments

    RTMP is one of the protocols for streaming of Audio/Video exactly using Flash Media Server and Red5. following is the detailed content about it.

    What exactly is RTMP and its classifications?

    RTMP (Real Time Messaging Protocol)

    RTMP is a TCP based propriety protocol developed by Adobe System for the purpose of streaming Audio/Video data between Flash Player and media server.

    RTMPT (Real Time Messaging Protocol with Tunnel)

    RTMPT is a variation of RTMP which works behind the firewall as well. It works on Port 80 and encapsulate the RTMP data in HTTP request.

    RTMPS (Real Time Messaging Protocol Secure)

    RTMPS is again a variation of RTMP which works over secure HTTPS connection.

    RTMPE (Real Time Messaging Protocol with Encryption)

    RTMPE is a new 128 bit encrypted protocol developed by Adobe systems for securing the stream data between flash client and server. It’s lightweight than SSL. It’s a DRM solution from Adobe for flash.

    RTMPTE (Real Time Messaging Protocol with Encryption and Tunnel)

    RTMPTE is a RTMPE tunneling over HTTP on port 80.

    MRTMP (Multiplex Real Time Messaging Protocol)

    Multiplex RTMP is a protocol between edge and origin, developed by Red5 for clustering of stream data using Terracotta.

    How does RTMP operate?

    The raw TCP-based RTMP maintains a single persistent connection and allows real-time communication. To guarantee smooth delivery of video and audio streams, while still maintaining the ability to transmit bigger chunks of information, the protocol may split video and data into fragments. The size of the fragments used can be negotiated dynamically between the client and server, and even disabled completely if desired, although the default fragment sizes are 128 bytes for video and most other data types, and 64-bytes for audio data. Fragments from different streams may then be interleaved and multiplexed over a single connection. With longer data chunks, the protocol would then only carry a one-byte header per fragment, thus incurring very little overhead. In practice however, individual fragments are not typically interleaved. Instead, the interleaving and multiplexing is done at the packet level, with RTMP packets across several different active channels being interleaved in such a way to ensure that each channel meets its bandwidth, latency, and other quality of service requirements. Packets interleaved in this fashion are treated as indivisible, and are not interleaved on the fragment level.

    The RTMP defines several channels on which packets may be sent/received, and which operate independently of each other. During a typical RTMP session, several channels may be active simultaneously at any given time. When RTMP data is packetized, a packet header is generated. The packet header specifies, among other things, the id of the channel that it is to be sent on, the timestamp at which is was generated (if necessary), and the size of the packet payload. This is then followed by the packet payload, which is fragmented according to the currently agreed-upon fragment size before it is serialized over the connection. The packet header itself is never fragmented, and its size does not count towards the data in the packet’s first fragment. In other words, only the actual packet payload data is subject to fragmentation.

    What players support RTMP?

    The most well-known RTMP client is Adobe’s Flash Player which can stream video and audio from RTMP servers. Besides, the open source media player XBMC has acquired preliminary support for playing RTMP streams in its SVN version. Besides, JW player, flow player and PlayerDIY Web Player version 2.0 with the RTMP Stream Plugin support the playback of live streaming videos, SMIL presentations, and streaming videos from RTMP servers.

    What is RTMP server software?

    Currently, the only full implementation RTMP servers are the Adobe Flash Media Server, Onlinelib VCS Video Communication Server (including iPhone Support), Wowza Media Server and WebORB Integration Server (free and available for .NET, Java and ColdFusion) both commercial and closed source implementations.

    There is a reverse engineered open source project called Red5 which aims to produce a feature-complete implementation written in Java. As of October 2007, the majority of the functionality is implemented, although the project is still in the beta stage. OneTeam Media Server has also been announced by ProcessOne.

    Some related news?

    On 20 January 2009 Adobe announced it will publish the RTMP specification. On 21 May 2009 Adobe filed a DMCA removal request on a Sourceforge-hosted implementation of the protocol. On Monday, June 15, 2009 Adobe released the RTMP Specification, which is designed for high-performance transmission of audio, video, and data between Adobe Flash Platform technologies.

    The project is dedicated to driving rich Internet experiences across televisions, personal computers, mobile devices, and consumer electronics. To support this mission, and as part of Adobe’s ongoing commitment to enable Web innovation, Adobe will continue to open access to Adobe Flash technology, accelerating the deployment of content and rich Internet applications (RIAs). This work will include:

    Removing restrictions on use of the SWF and FLV/F4V specifications.
    Publishing the device porting layer APIs for Adobe Flash Player.
    Publishing the Adobe Flash® Cast™ protocol and the AMF protocol for robust data services.
    Removing licensing fees – making next major releases of Adobe Flash Player and Adobe AIR for devices free.

    Sources are from Wikipedia.

     

    32 responses to “Introduction of RTMP(Real Time Messaging Protocol)” RSS icon

    • Very interesting site. Hope it will always be alive!,

    • I think the mail is suitable and on the point. This brief indeed helped me in my assignment.

    • I deliberate on the collection is suitable and on the point. This send in point of fact helped me in my assignment.

    • Well I think that this brief is something which insufficiency more distinction of your readers.

    • Again a honesty a possessions post. Thanks your crony

    • Actually,good post. thx

    • Love this post! Thanks for this. I’ll be sure to come back again. P.S: I’ve bookmark your site as well.

    • This can be a I adore the various articles that have been written, and especially the comments posted! I am going to definately be visiting again!

    • Monroe Sitzler

      Hello i am so delighted I discovered your blog, I actually discovered you by error, while I was searching Yahoo for something else, Anyways I am here now and would just like to say thanks for a great blog posting and a all round absorbing blog (I also love the theme/design), I do not have time to read it all at the right now but I have bookmarked it and also added your RSS feeds, so when I have time I will be back to read more

    • i truly enjoy all your writing type, very helpful,
      don’t quit and also keep posting as a result it just simply well worth to follow it,
      looking forward to browse much of your stories, kind regards :)

    • Organic green Tea

      After reading you blog, I thought your articles is great! I am very like your articles and I am very interested in the field of Free trial. Your blog is very useful for me .I bookmarked your blog!

    • I thought it was going to be some boring old post, but it really compensated for my time. I will post a link to this page on my blog. I am sure my visitors will find that very useful.

    • This is the best post on this topic i have ever read.

    • i just wanna thank you for sharing your information and your site or blog this is simple but nice article I’ve ever seen i like it i learn something today…

    • Polish Pottery

      Hrmm that was weird, my comment got eaten. Anyway I wanted to say that it’s nice to know that someone else also mentioned this as I had trouble finding the same info elsewhere. This was the first place that told me the answer. Thanks.

    • Took me time to read all the comments, but I really enjoyed the article. It proved to be very useful to me and I am sure to all the commenters here! It’s always nice when you can not only be informed, but also entertained! I’m sure you had joy writing this article.

    • Thanks for a great post and interesting comments. I found this post while searching the web for freebies. Thanks for sharing this article.

    • Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I’ll be subscribing to your feed and I hope you post again soon. Thanks!

    • thanks very much, I am obliged to announce that your blog is amazing!

    • This is my first visit to your blog. We are starting a brand new initiative in the same category as this blog. Your blog provided us with important information to work with. You have done a great job.

    • Lots of Good information in your posting, I bookmarked your blog post so I can visit again in the near future, Cheers :)

    • thanks very much, I am obliged to announce that your blog is amazing!

    • I hope you know that it is my enjoyment to tweet and to post to google.

    • Hey…..nice post!!

      Awesome, No more words to explain :) :) 😀 just….cool blog.

    • Thanks for the stuffed post.

    • I Hope Everyone doesent Underevaluate the true Importance of what you have posted here…Please guys dont skim read this take time and read into thouroughly….Thumps up to the Writer…Great work!

    • Particia Strzelczyk

      Fantastic piece of writing, this is very similar to a site that I have. Please check it out sometime and feel free to leave me a comenet on it and tell me what you think. I’m always looking for feedback.

    • the useful content you presented do help my research for our company, thanks.

    • Undoubtedly, one of the best article l have come across on this precious topic. I quite agree with your conclusions and will eagerly look forward to your coming updates.

    • I really liked this post. You write about this topic very well. Whether you are shopping for home goods, outdoor, yard and garden products, something for yourself, or shopping for a special present for someone special, it is a good idea to look somewhere where there is a choice of fine dependable products.

    • I do not even know how I ended up here, but I thought this post was good. I do not know who you are but certainly you’re going to a famous blogger if you are not already 😉 Cheers!

    • I must say that overall I am really impressed with this blog.It is easy to see that you are passionate about your writing. If only I had your writing ability I look forward to more updates and will be returning.


    5 Trackbacks / Pingbacks

    Leave a reply