android-webrtc-tutorial icon indicating copy to clipboard operation
android-webrtc-tutorial copied to clipboard

No User Is Online

Open Adnan-addi opened this issue 9 years ago • 3 comments

I downloaded the template and managed it to compile and run on my device , i installed it on two devices after puting my own pubnub keys , signed in on both devices but it displays user is not online ??

if i use web api debugging i recieved the call on device but stucks at connecting ... ??

i dont understand where i am making a mistake , how to establish a call between two devices?

Adnan-addi avatar Jan 10 '17 14:01 Adnan-addi

@Adnan-addi Did you solve this problem? In my case , Connection is not happening on video call, Every time it shows connecting...

RiteshAdulkar avatar Mar 22 '18 09:03 RiteshAdulkar

Refer this link - https://github.com/newbie007fx/newwebrtc

RiteshAdulkar avatar Mar 22 '18 13:03 RiteshAdulkar

i have the exact same issue, if i call myself from the debugger it places the call to either of my devices but just displays connecting, if i call my device from my other device i just get user is not online which is obviously coming from here

               if (occupancy == 0) {
                    System.out.println("User is not online");
                    return;
                }

i just dont know how to rectify it i also notice that the previous log statement in the success callback

   Log.d("MA-dC", "HERE_NOW: " + " CH - " + callNumStdBy + " " + message.toString());

prints this

     HERE_NOW:  CH - 37yntLaKSGPgNVrRs18M9GDRLy42-stdby 
     {"service":"Presence","message":"OK","occupancy":0,"status":200,"uuids":[]}

im not sure but i think uuids should have some values inside which maybe the crux of the issue, any help would be appreciated

martipello avatar May 28 '18 00:05 martipello