Ankit-Aggarwal / SwiftyWebRTC

Swift Framework for WebRTC
MIT License
159 stars 32 forks source link

working on same network except in different network #3

Closed rafattouqir closed 6 years ago

rafattouqir commented 6 years ago

I've used your implementation, It's working great in same network but when it comes to different network it' not connecting, may be ice candidate were not adding at proper time.

Need help or suggestion?

Ankit-Aggarwal commented 6 years ago

Some things to check :

rafattouqir commented 6 years ago

I'm doing the same like caching remote candidates until remotesdp is set, but not working.

Is there any sample code that you could provide ? That would be great :)

Ankit-Aggarwal commented 6 years ago

You have confirmed TURN AND STUN server configuration..

rafattouqir commented 6 years ago

All of your implementation was ok, I was not sending ice candidates to remote properly. It's working now.