Open fatihtastemur opened 5 years ago
add mCore.start(); to LinphoneMiniManager
public LinphoneMiniManager(Context c) {
mContext = c;
Factory.instance().setDebugMode(true, "Linphone Mini");
//mPrefs = LinphonePreferences.instance();
try {
String basePath = mContext.getFilesDir().getAbsolutePath();
copyAssetsFromPackage(basePath);
mCore = Factory.instance().createCore(basePath + "/.linphonerc", basePath + "/linphonerc", mContext);
initCoreValues(basePath);
setUserAgent();
setFrontCamAsDefault();
startIterate();
mInstance = this;
mCore.setNetworkReachable(true); // Let's assume it's true
mCore.addListener(this);
mCaptureView = new SurfaceView(mContext);
mCore.start();
} catch (IOException e) {
Log.e(new Object[]{"Error initializing Linphone",e.getMessage()});
}
}
Thank you for the Fix!
ionic cordova plugin remove cordova-plugin-sip
ionic cordova plugin add https://github.com/codextde/cordova-plugin-sip.git
hi guys, I can't register on a port other than 5060 can anyone help me?
sipManager.events does not working on incoming calls.