Mobicents Restcomm Hello-world Implementation
Solution 1:
Seems like the jars and/or native libraries for WebRTC implementation cannot be found for some reason. Did you download the latest tar.bz2 bundle from the GitHub release page or did you just clone the GitHub repo?
If you did the first, the jars and libs should be there, but if you cloned the repo you need to download and add separately from GitHub release tarball cause such binary files tend to make the repo huge and we avoid putting them there.
To verify if you have the files needed, please go to RESTCOMM_ANDROID_SDK_ROOT/restcomm.android.client.sdk/libs. There you should find 'libjingle_peerconnection_java.jar'
EDIT:
You will also need to edit MainActivity.java and replace:
params.put("pref_sip_user", "bob");
with:
params.put("pref_sip_user", "android-sdk");
Because bob is a very common user and might be provisioned by someone else with unknown password. That should fix your issue. By the way you can also enable more verbose logging for RCClient by setting the log level before calling RCClient.initialize():
RCClient.setLogLevel(Log.VERBOSE);
Best regards, Antonis
Post a Comment for "Mobicents Restcomm Hello-world Implementation"