update linphone and belle-sip, don't use LinphoneCore.createDefaultCallParameters() anymore.

This commit is contained in:
Simon Morlat 2015-10-27 18:42:18 +01:00
parent 41835e4d08
commit 9572b8d557
6 changed files with 6 additions and 6 deletions

View file

@ -36,6 +36,7 @@
<class name="org.linphone.core.PresencePersonImpl" />
<class name="org.linphone.core.PresenceServiceImpl" />
<class name="org.linphone.core.ErrorInfoImpl" />
<class name="org.linphone.core.TunnelConfigImpl" />
</javah>
<javah outputfile="gen/xml2lpc_jni.h">
<classpath>

View file

@ -52,7 +52,7 @@ public class CallManager {
public void inviteAddress(LinphoneAddress lAddress, boolean videoEnabled, boolean lowBandwidth) throws LinphoneCoreException {
LinphoneCore lc = LinphoneManager.getLc();
LinphoneCallParams params = lc.createDefaultCallParameters();
LinphoneCallParams params = lc.createCallParams(null);
bm().updateWithProfileSettings(lc, params);
if (videoEnabled && params.getVideoEnabled()) {

View file

@ -168,7 +168,7 @@ public class IncomingCallActivity extends Activity implements LinphoneSliderTrig
}
private void answer() {
LinphoneCallParams params = LinphoneManager.getLc().createDefaultCallParameters();
LinphoneCallParams params = LinphoneManager.getLc().createCallParams(mCall);
boolean isLowBandwidthConnection = !LinphoneUtils.isHighBandwidthConnection(this);
if (isLowBandwidthConnection) {

View file

@ -1090,8 +1090,7 @@ public class LinphonePreferences {
if(servers.length > 0) {
tunnelConfig = servers[0];
} else {
tunnelConfig = new TunnelConfig();
tunnelConfig.setDelay(500);
tunnelConfig = LinphoneCoreFactory.instance().createTunnelConfig();
}
}
return tunnelConfig;

@ -1 +1 @@
Subproject commit 611b6c3b1d237dc9fa4113c39c2f5f070235b783
Subproject commit 91ea725ebd9ce931de6356235bf1b500aeaa86fa

@ -1 +1 @@
Subproject commit 847f56bb4c91032c44335df53fb10bdb1001f8d6
Subproject commit c4cf58931e7db458c5f2f9775f2bdb7a6d1b9f67