[sendLog] linphonerc updated for server transfert

This commit is contained in:
Sylvain Berfini 2016-04-29 10:31:02 +02:00 committed by Brieuc Viel
parent 5571674191
commit af3c8514ca
5 changed files with 11 additions and 5 deletions

View file

@ -18,3 +18,7 @@ push_notification=1
[tunnel]
host=
port=443
[misc]
log_collection_upload_server_url=https://www.linphone.org:444/lft.php
file_transfer_server_url=https://www.linphone.org:444/lft.php

View file

@ -12,10 +12,13 @@ keepalive_period=30000
size=qvga
[app]
sharing_server=https://www.linphone.org:444/lft.php
tunnel=disabled
push_notification=1
[tunnel]
host=
port=443
[misc]
log_collection_upload_server_url=https://www.linphone.org:444/lft.php
file_transfer_server_url=https://www.linphone.org:444/lft.php

View file

@ -39,4 +39,4 @@ ec_calibrator_cool_tones=1
[misc]
max_calls=10
max_calls=10

View file

@ -721,7 +721,6 @@ public class LinphoneManager implements LinphoneCoreListener, LinphoneChatMessag
}
resetCameraFromPreferences();
mLc.setFileTransferServer(LinphonePreferences.instance().getSharingPictureServerUrl());
}
private void copyAssetsFromPackage() throws IOException {

View file

@ -1039,11 +1039,11 @@ public class LinphonePreferences {
}
public String getSharingPictureServerUrl() {
return getConfig().getString("app", "sharing_server", null);
return getLc().getFileTransferServer();
}
public void setSharingPictureServerUrl(String url) {
getConfig().setString("app", "sharing_server", url);
getLc().setFileTransferServer(url);
}
public void setRemoteProvisioningUrl(String url) {