Improved file transfer server url handling
This commit is contained in:
parent
a3ad1105e2
commit
d399aaeda6
6 changed files with 12 additions and 10 deletions
|
@ -12,10 +12,13 @@ keepalive_period=30000
|
|||
size=vga
|
||||
|
||||
[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
|
|
@ -31,5 +31,4 @@ dtmf_player_amp=0.1
|
|||
ec_calibrator_cool_tones=1
|
||||
|
||||
[misc]
|
||||
max_calls=10
|
||||
log_collection_upload_server_url=https://www.linphone.org:444/lft.php
|
||||
max_calls=10
|
|
@ -12,7 +12,6 @@ keepalive_period=30000
|
|||
size=qvga
|
||||
|
||||
[app]
|
||||
sharing_server=https://www.linphone.org:444/lft.php
|
||||
tunnel=disabled
|
||||
push_notification=1
|
||||
auto_start=1
|
||||
|
@ -20,3 +19,7 @@ auto_start=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
|
|
@ -31,6 +31,4 @@ dtmf_player_amp=0.1
|
|||
ec_calibrator_cool_tones=1
|
||||
|
||||
[misc]
|
||||
max_calls=10
|
||||
log_collection_upload_server_url=https://www.linphone.org:444/lft.php
|
||||
|
||||
max_calls=10
|
|
@ -690,7 +690,6 @@ public class LinphoneManager implements LinphoneCoreListener, LinphoneChatMessag
|
|||
}
|
||||
|
||||
resetCameraFromPreferences();
|
||||
mLc.setFileTransferServer(LinphonePreferences.instance().getSharingPictureServerUrl());
|
||||
}
|
||||
|
||||
private void copyAssetsFromPackage() throws IOException {
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue