how webrtc use libjingle?

mike picture mike · May 22, 2012 · Viewed 9.3k times · Source

I download WebRTC's source code, but I can't find any libjingle's code at the WebRTC, and can't find how WebRTC use libjingle (can't find such as XmppTask Class in WebRTC's code)

can anyone give me a guide?

Answer

Zack picture Zack · Nov 10, 2014

Libjingle is now part of the WebRTC project and code base. WebRTC is a set of API's that make video, audio, and data interaction simple through a peer-to-peer connection. Where as Libjingle is used as a part of the WebRTC implementation to handle NAT traversal and stream handling.

Libjingle was initially used solely through XMPP to create a point-to-point connection between two chat clients. The technologies used are ICE, STUN, and TURN.

WebRTC has a large focus on Javascript mainly because its core usefulness is using the functionality through a browser. However, WebRTC (with Libjingle), can be built for many platforms and has a number of different APIs in various languages.

Libjingle is written in C++, so can be used by itself without WebRTC. However, I recommend using Libjingle's functionality through the way of the WebRTC APIs.