Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How does WebRTC use libjingle?

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?

like image 537
mike Avatar asked May 22 '12 02:05

mike


2 Answers

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.

like image 185
Zack Avatar answered Sep 28 '22 00:09

Zack


Yes, libjingle folder in webrtc has been removed in the lastest version. You can ignore it.

like image 38
Jason Avatar answered Sep 28 '22 01:09

Jason