ISBX / apprtc-ios

A native iOS video chat app based on WebRTC
BSD 3-Clause "New" or "Revised" License
1.35k stars 413 forks source link

iOS to iOS connectivity issue #100

Open shoaibhassanWhizpool opened 7 years ago

shoaibhassanWhizpool commented 7 years ago

Hello every one, in webRTC i've successfully connected iPhone to browser and browser to iPhone, but unable to connect within iOS device. i am stuck on "RTCICEConnectionChecking" please let me know what the issue can be Thank you.

Abhisheksnapwiz commented 7 years ago

When I am trying to run this IOS app and adding the room then I am getting "Room is full". I tried many times with different string but getting same response.

Which is similar to issue "Getting "Room is Full" error #4"

Again I tried to run local server using https://github.com/ISBX/apprtc-node-server. then getting "on turn server" issue and it is not working in browser as well its crashing while adding room. Please share if u have any idea about it.

shoaibhassanWhizpool commented 7 years ago

well i am not adding a room, i configured my own server, created a room on it, and joining it from both clients,and implementing only VOIP not video chat...issue is this browser client get connect to that room and call start with iOS client, but its not connecting iPhone to iPhone.

mmesutt commented 7 years ago

I have the same problem. iPhone can not connect to another iPhone. It goes from "RTCICEConnectionChecking" state to "RTCICEConnectionFailed" state. But its working for iPhone to browser and browser to iPhone connections.

shoaibhassanWhizpool commented 7 years ago

@mmesutt i've implemented this, when you receive an offer from client1,on answering you need to create offer back from user 2 to user1,i think it follows double handshake mechanism.strange for me but working.. please try with same and let me know.

stephen-sh-chen commented 6 years ago

I'm currently phasing this issue too. iPhone to iPhone is NOT working, but iPhone to a browser is fine. Is there anyone can provide the detailed fix? Please help, thank.

sourov2008 commented 6 years ago

I am facing the same problem . iphone to iphone no audio/video output . Did you find a proper solution of this issue. please inform me?

ChokWah commented 3 years ago

@stephen-sh-chen I am facing the same problem. iPhone to a browser is not fine. I use SRS server, post localhost/rtc/v1/publish to get the answer. When I use answer set setRemoteDescription .Type return RTCIceConnectionStateChecking. Then I don’t what happen. Can you tell how to work in iPhone to a browser ?