I. Introduction of related agreements · XMPP Protocol (Core protocol): Full name: The extensible Messaging and Presence Protocol, you can extend the communication and presentation protocol. To be blunt, it is a protocol that specifies data for a specified node based on an XML stream. The advantage of doing so is unification (Peakflys Note: Everyone according to this definition, do things can communicate with each other, communication, this should have a promising future! )。 It is an open and extensible protocol, including the jingle Protocol, which is an extension of the XMPP protocol. (Peakflys Note: When using Wireshark, the earlier version may not be able to find this protocol, this time you can choose Jabber, which is the predecessor of the XMPP Protocol). Many im are now developed based on the XMPP protocol, including Gtalk and so on. Jingle Protocol (Important Protocol): The jingle Protocol is an extended protocol on the XMPP protocol that addresses point-to-point connection issues under the XMPP protocol framework, which is the peer-to-peer connection. Under the jingle framework, even if the user is protected by a firewall or NAT network, a connection can be established to provide file transfer, video, audio services, and so on. Programmatic file is xep-0166 Turn protocol: Full name: Traversal using Relays around NAT, as the name implies, is the protocol that transmits data through a relay server. Stun protocol: Full name: Simple traversal of the UDP over NATs, which is Nat's UDP easy traversal, which allows clients located on NAT (or multiple NAT) to find their own public address, Find out what type of nat you are in and the Internet port that NAT is bound to for a local port. It is much easier to know the NAT type and have a public IP and port,p2p. Ice protocol: Full name: Interactive Connectivity Establishment, that is, interactive connection established, plainly, it is the use of stun and turn and other protocols to find the most suitable connection. Second, Libjingle and the relationship between the agreement jingle the initiator of the agreement is Google, and Libjingle library is also Google's implementation, the ice agreement is basically included in the Jingle Agreement, So you just need to know the difference between the Libjingle and jingle protocols. Www.2cto.com history: Libjingle probably and Jingle XMPP extension were built at the same time. Libjingle's team set up their own protocols to deal with the reply negotiations, later and using the standardized jingle (XMPP-basedStandard) work together. Although jingle and Libjingle are very similar, they are not the same and cannot be used together. Now Libjingle's source version still uses the original network protocol, slightly different from the previous, and not compatible with jingle specifications. However, it is still close enough to jingle, so it is worthwhile to learn the jingle instructions. Similar to "close but not the same", Libjingle's video content description (early Jingle video content description format XEP-0167), Ice transmission description (early jingle of the Ice transport XEP-0176), As well as the UDP description of the stream (the transmission description of the earlier Jingle stream UDP XEP-0177) Three, related documents: RFC3921 (Download: RFC3921) The core document of the XMPP protocol RFC3489 (STUN) (Download: RFC3489) Draft of the stun agreement rfc5245 (ICE) (Download: RFC5245) Draft of the Ice protocol xep-0166 (jingle) (Download: XEP-0166) Official document of the Jingle Agreement xep-0176 (Jingle ice-udp) (download: XEP-0176) defines the official documentation for the combination of jingle and ice (mostly using XMPP as the Ice channel to re-describe the ice protocol)
http://www.bkjia.com/PHPjc/477774.html www.bkjia.com true http://www.bkjia.com/PHPjc/477774.html techarticle I. Introduction to Related Protocols XMPP protocol (CORE protocol): Full name: The extensible Messaging and Presence Protocol, you can extend the communication and presentation protocol. To be blunt is to rule on the basis of ...