Top 10 ‘ WebRTC vs RTMP ‘ Pro’s & Con’s in 2022

By Nandini Ramachandran | Posted on April 21, 2021

Top 10 ' WebRTC vs RTMP ' Pro's & Con's
Are you looking to start a Video Streaming application? Click here to get a free consultation 
preview full Image VOD Dec

Video streaming has been a popular technology in recent period, with the outbreak of coronavirus pandemic, more and more businesses start to seek live streaming solutions to assist their employees working remotely. While more people prefer to use off-the-shelf solutions such as Zoom, many choose to create their own streaming app. In this blog, we will compare some of the most pro’s and con’s of WebRTC and RTMP to assist people choose the right technology for building video streaming applications.

WebRTC

WebRTC is an emerging technology that begins to acquire popularity in recent years. Unlike RTMP, WebRTC is more than a protocol. The technology covers transmission protocols, as well as the Application Programming Interfaces (APIs) that are used for Real-Time Communication (RTC) between web browsers and mobile applications. Since WebRTC is a W3C standard, it is widely supported by modern browsers, and allows audio and video data to be transmitted directly among web pages.

  1. WebRTC is an Open Source Protocol, easy to set up. It does not support third-party plugins or software.
  2. It’s a latest and high-tech protocol that is slowly gaining popularity
  3. Has been executed in the main browsers in the past 2–3 years
  4. New Codes are supported by WebRTC like VP8, VP9 ,h.264
  5. UDP based, low latency; Also executes a low-latency messaging system based on Websockets; We can actually call it real-time or ultra-low latency.
  6. Every browser follows its own API which unfortunately do not follow the W3C standards
  7. Browsers still make modify and correct their APIs which sometimes cause functionality issues and urgent changes
  8. It has build in bandwidth estimation and it support ABR
  9. Maximum supported resolution: 720p, 30 frames per second with a bit rate of up to 2 Mbps

Read more: Why WebRTC is a good option to implement in comparison with RTMP?

RTMP (Real-Time Messaging Protocol)

RTMP was initially used to transmit audio and video data between Flash player client and the streaming server that hosts the media file. With more than 20 years in age, this technology has been widely adopted and used by lots of popular softwares (e.g. OBS) and websites (such as YouTube). There are a few variants of the original RTMP, this include the more secure standards RTMPS/RTMPE that use encryption, and the RTMPT/RTMFP standards that uses HTTP or UDP network protocol.

  1. RTMP requires third-party software or hardware encoders
  2. It’s a old protocol expanded by Macromedia, obtained by Adobe and was mostly used in Flash applications
  3. Has been around for over 2 decades
  4. Is present a mainstream protocol used by main blue-chip companies, like Facebook, Youtube, Amazon
  5. Has various  tools, implementations and ecosystem built around it
  6. Has various flavours, like RTMPS (encrypted) and RTMPT (HTTP tunnelling)
  7. Some advance codecs are not supported by RTMP like H.265
  8. Has a latency of at least 0.2s or more, depending on quality settings, cache etc.
  9. Is frequently related with Flash which doesn’t have a good reputation, even though they have nothing in common and are two separate things
  10. RTMP protocol is the chance of interruptions due to low bandwidth and It does not support ABR
  11. Fixed Resolution and frame rate

Both the technologies are driving the industry forward, each has its pros and cons. Neither option is ideal for everything, but one of the two can be the ideal solution for you. Ultimately, the best protocol will depend on the need of your project, the devices you plan to distribute, and the size of your audience.

To know more, contact our developer team

Comments

9 responses

  1. Baviree
    Baviree

    The RTMP seems quite obvious that the good old RTMP is going to meet its demise sooner

  2. Tannie Aye
    Tannie Aye

    The only disadvantage of RTMP protocol is low bandwidth. There is a possibility of interruptions due to low bandwidth so WebRTC is the best choice when compared to RTMP

  3. Danny
    Danny

    One of the biggest prons of WebRTC is that it transforms a lot of browsers into streaming terminals without any additional plugins needing to be installed

  4. neiselo
    neiselo

    The comparison of the most popular streaming protocols(RTMP & WebRTC) helps a lot to choose which one suits our business needs
    thanks for sharing

  5. Vazriya

    Both RTMP and WebRTC technologies are driving the streaming industry forward. This blog help me to choose the best technology for my project

  6. Gannia
    Gannia

    Thanks for sharing the Prons and cons for Webrtc and RTMP

  7. Izaan
    Izaan

    You did it!

  8. Girish
    Girish

    I really enjoy reading your articles!

  9. Valentina
    Valentina

    This is top-notch!

Leave a Reply to Valentina Cancel reply

Your email address will not be published. Required fields are marked *