What is the difference between WebRTC, Jingle and XMPP?

What is the difference between WebRTC and Jingle. I am going to create an Android application for voice calling using the ejabberd XMPP server. So which one would be the best choice for voice calling on Android?

+6
source share
2 answers

XMPP is a messaging protocol. Jingle is a sub protocol used by XMPP to establish voice calls or transfer files. WebRTC is a Javascript API (there is also a library that implements this API).

You can use Jingle as a signaling protocol to establish peer-to-peer communication between two XMPP clients using the WebRTC API. This shows an example in Javascript that works in Chrome and Firefox (and Microsoft Edge if you only need sound).

+9
source

The WebRTC code in code.google.com contains only video and audio codecs, an RTP stack. The libjingle project contains the webRTC API, it looks like a nurse, but it's true. In addition, libjingle has XMPP and STUN stacks, an implementation of ICE. If you want to make a general solution for VOIP, you need to build both.

0
source

All Articles