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

Getting "Room is Full" error #4

Open Vidhyanand-K opened 9 years ago

Vidhyanand-K commented 9 years ago

I have installed App in two devices. I connect to room with one device. It is connecting. When I try to connect to same room using another device it is getting error everytime. Mostly the app is crashing when connect to room in another device and again I try to connect then it is giving "Room is Full" error message.I only connect to one device and trying with another device only. Please refer screenshot.

When I try to connect to second device it is getting below error everytime

Error Domain=RTCSDPError Code=-1 "The operation couldn’t be completed. (RTCSDPError error -1.)" UserInfo=0x19db48e0 {error=Failed to set local answer sdp: Failed to push down transport description: Local fingerprint does not match identity. Expected: sha-1 E1:0C:A2:10:DE:A1:52:99:39:76:06:C5:CD:A4:80:2D:88:18:1F:48 Got: sha-1 4A:24:3A:35:42:E4:BF:1F:49:3C:42:07:D7:C1:EC:40:42:26:5F:A0}

What do you mean by above error. How to fix it.

error

coolwr commented 9 years ago

Looks like you are connecting to apprtc.appspot.com. They may have updated something on the server side that is causing the issue you are experiencing.

Can you try deploying one of the 2 WebRTC servers that has been tested with our AppRTC repo:

https://github.com/ISBX/apprtc-server

or

https://github.com/ISBX/apprtc-node-server

We'll need to spend sometime looking at what Google has changed since March to determine what the root cause of this new issue is.

On Wed, Jul 1, 2015 at 7:57 AM, Vidhyanand-K notifications@github.com wrote:

I have installed App in two devices. I connect to room with one device. It is connecting. When I try to connect to same room using another device it is getting error everytime. Mostly the app is crashing when connect to room in another device and again I try to connect then it is giving "Room is Full" error message. Please refer screenshot.

Can u say why it is always returning Above error. How to fix it.

[image: error] https://cloud.githubusercontent.com/assets/10493243/8457496/53cd78ee-202f-11e5-8102-2a8c6c245e4d.PNG

— Reply to this email directly or view it on GitHub https://github.com/ISBX/apprtc-ios/issues/4.

Vidhyanand-K commented 9 years ago

Hii,

Thanks for quick response..

I am using your repo in my application. Initial user is connecting fine. If I am trying to connect another user then I am getting error.

Error Domain=RTCSDPError Code=-1 "The operation couldn’t be completed. (RTCSDPError error -1.)" UserInfo=0x19db48e0 {error=Failed to set local answer sdp: Failed to push down transport description: Local fingerprint does not match identity. Expected: sha-1 E1:0C:A2:10:DE:A1:52:99:39:76:06:C5:CD:A4:80:2D:88:18:1F:48 Got: sha-1 4A:24:3A:35:42:E4:BF:1F:49:3C:42:07:D7:C1:EC:40:42:26:5F:A0}

In your repo I see

define SERVER_HOST_URL @"https://apprtc.appspot.com"

Instead of above server host url what I need to change in order to work one-one video chat. Shall I change server host url to https://github.com/ISBX/apprtc-server or https://github.com/ISBX/apprtc-node-server

Please give any suggestions for fixing the issue..

Regards, Vidhyanand.