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
below are answer to my own queries
Is there any open source iOS (library) which support the same?
-Yes, resiprocate source code is available , it has nicer folder. it can be compiled to mac os x and ios with some efforts
FaceTime in iPhone also uses ICE, STUN, TURN to NAT traversal, so does iOS SDK exposes such API’s?
– No
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?
– it can be easily recompiled to ios4