I need to establish a P2P UDP and TCP Connection between two Users. Both of them are behind a NAT. A little research leads me to STUN, TURN and ICE.
Is there any open source iOS (library) which support the same?
FaceTime in iPhone also uses ICE, STUN, TURN to NAT traversal, so does iOS SDK exposes such API's?
I found nICRr code in resiprocate source code (www.resiprocate.org), which I am able to test on Mac OS X for STUN part. Did anybody tried using the same for iOS 4.0or above?
Thanks, rodney
1> use PJSIP it has all the items you request and it now builds properly on iOS
2> no
3> I dont know, but PJSIP has STUN, TURN and ICE libraries and its modular
It's not open-source, but we put together a library called IceLink that does P2P streaming using ICE/STUN/TURN with full NAT traversal. It has client SDKs for iOS, Mac, and others.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With