Skip to content

This demo project uses a WebSocket signal server to exchange the IP information of every pair of iOS clients and constructs a P2P STUN channel to exchange text messages. STUN is a part of WebRTC.

License

Notifications You must be signed in to change notification settings

grimmer0125/p2pMessenger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

p2pMessenger

It uses the following two libraries to finish a iOS app to demonstrate the process of P2P hole punching. After establishing P2P connections, people can send messages to the others.

libPusher

https://github.com/lukeredpath/libPusher. This websocket library is used to implement the signaling part.

License: MIT. Copyright (c) 2010 Luke Redpath

PJSIP

www.pjsip.org. This is used to implement hole punching STUN part.

License: Either GPL 2.0/Later OR Commercial license, reference: http://www.pjsip.org/licensing.htm

License

p2pMessenger is released under the GPL v3.0 license. This is due to using PJSIP.

About

This demo project uses a WebSocket signal server to exchange the IP information of every pair of iOS clients and constructs a P2P STUN channel to exchange text messages. STUN is a part of WebRTC.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published