tkmn0 / SimpleWebRTCExample_iOS

Simple example for WebRTC on iOS written in swift5
MIT License
182 stars 49 forks source link

WebSocket disconnects immediately #13

Closed nikhil191090 closed 4 years ago

nikhil191090 commented 4 years ago

Hello,

First of all thanks a lot for your project! It helped us a lot. But I am facing WebSocket disconnect issue as soon as I launch the app. Please help, I am kind of stuck here from days

saroar commented 4 years ago

yes this is the way this app work WebSocket will connect again when after you end a call so if you want to WebSocket disconnect immediately check code and remove that best of luck

tkmn0 commented 4 years ago

Hi, thanks guys for opening issue and commented :)

But I am facing WebSocket disconnect issue as soon as I launch the app

Did you run websocket server at your computer? If no, check usage. Then, adjust IP Address to your case.

Please let me know if you have any questions.