开发者

ICE, STUN, TURN library for iOS iPhone

开发者 https://www.devze.com 2023-02-16 10:01 出处:网络
I need to establish a P2P UDP and TCP Connection between two Users. Both of them are behind a NAT. A little r开发者_如何学Goesearch leads me to STUN, TURN and ICE.

I need to establish a P2P UDP and TCP Connection between two Users. Both of them are behind a NAT. A little r开发者_如何学Goesearch leads me to STUN, TURN and ICE.

  1. Is there any open source iOS (library) which support the same?

  2. FaceTime in iPhone also uses ICE, STUN, TURN to NAT traversal, so does iOS SDK exposes such API's?

  3. 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.


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

0

精彩评论

暂无评论...
验证码 换一张
取 消