tkmn0 / SimpleWebRTCExample_iOS

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

I cloned the project but it saying WebSocket is disconnected #22

Closed AnkurLahiry closed 4 years ago

AnkurLahiry commented 4 years ago

Hi,

Thanks for the project. I did everything which is described In Readme. After successfully add the WebSocket framework, I ran the app saying WebSocket is disconnected. Am I missing something?

tkmn0 commented 4 years ago

Hi, thank you for your question.

  1. Did you connect your iPhone and your PC (signaling server running) to same network (LAN)?
  2. Did you change here to your case?

Best regards.

AnkurLahiry commented 4 years ago

Yes!

Solved my problem, the problem was step 2. Please add this in Readme.

I loved this project.

tkmn0 commented 4 years ago

I'm sorry, I will add step 2 to README. Anyway, I'm glad to hair to solve you problem.

Thanks! If you don't mind, give star to this project :)

AnkurLahiry commented 4 years ago

Sure, already did that

data channel is not ready state

How to solve it?

Also, WebRTC saying it is initialized, not connected.

tkmn0 commented 4 years ago

Thanks :)

data channel is not ready state

Currently, this project has data channel problem (#21). I will check this problem later.

Did you tap call button? If so, signaling will start and connection will establish. What is in your xcode console?