-
June 22nd, 2015, 01:27 AM
#1
How can I create a SIP connecton using Liblinphone interface class?
I'm new to Java and want to develop a SIP client for Android using Liblinphone library.
There is a LinphoneAuthInfo class that accepts authentication.
And a LinphoneCore.addAuthInfo() That adds authentication info to the core.
**The problem is that I cannot initialize LinphoneAuthInfo and LinphoneCore classes because they are interface classes and I don't know how to use theme.**
If they was not interface classes I would do this:
Code:
// Create Authentication object
LinphoneAuthInfo authInfos;
authInfos.setDomain(id);
authInfos.setUserId(username);
authInfos.setPassword(password);
// Config Core
LinphoneCore linCore;
linCore.addAuthInfo(authInfos);
And finaly, this is the Liblinphone reference page:
http://www.linphone.org/docs/liblinp...phoneCore.html
http://www.linphone.org/docs/liblinp...eAuthInfo.html
And thanks for your help
Last edited by rostamiani; June 22nd, 2015 at 01:35 AM.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|