Commit 30292994 authored by Sylvain Berfini's avatar Sylvain Berfini 🎩

Fixed issues related to rc files

parent fd68c25f
Pipeline #246 failed with stage
in 0 seconds
[net]
download_bw=380
upload_bw=380
# I don't know why but the first line is often corrupted, leaving it blank or with a comment prevent the first section to not being parsed...
[sip]
contact="Linphone Xamarin" <sip:linphone.xamarin@unknown-host>
use_info=0
......@@ -9,4 +6,6 @@ use_ipv6=1
keepalive_period=30000
sip_port=-1
sip_tcp_port=-1
sip_tls_port=-1
\ No newline at end of file
sip_tls_port=-1
#Same for the end line, last line can be corrupted otherwise...
\ No newline at end of file
[net]
# I don't know why but the first line is often corrupted, leaving it blank or with a comment prevent the first section to not being parsed...
[net]
mtu=1300
#Because dynamic bitrate adaption can increase bitrate, we must allow "no limit"
download_bw=0
upload_bw=0
force_ice_disablement=0
[sip]
guess_hostname=1
register_only_when_network_is_up=1
auto_net_state_mon=0
auto_answer_replacing_calls=1
ping_with_options=0
rls_uri=
use_cpim=1
linphone_specs=groupchat
[rtp]
audio_rtp_port=7076
video_rtp_port=9078
......@@ -28,10 +19,9 @@ playback_dev_id=
ringer_dev_id=
capture_dev_id=
dtmf_player_amp=0.1
ec_filter=MSWebRTCAEC
[misc]
max_calls=10
history_max_size=100
enable_basic_to_client_group_chat_room_migration=0
enable_simple_group_chat_message_state=0
aggregate_imdn=1
\ No newline at end of file
log_collection_upload_server_url=https://www.linphone.org:444/lft.php
#Same for the end line, last line can be corrupted otherwise...
\ No newline at end of file
......@@ -61,9 +61,9 @@ namespace Xamarin.Droid
}
global::Xamarin.Forms.Forms.Init(this, bundle);
App.ConfigFilePath = rc_path;
App.FactoryFilePath = factory_path;
App app = new App(); // Do not add an arg to App constructor
app.ConfigFilePath = rc_path;
app.FactoryFilePath = factory_path;
app.Manager.AndroidContext = this;
LinearLayout fl = new LinearLayout(this);
......
......@@ -10,8 +10,8 @@ namespace Xamarin
{
public partial class App : Application
{
public string ConfigFilePath { get; set; }
public string FactoryFilePath { get; set; }
public static string ConfigFilePath { get; set; }
public static string FactoryFilePath { get; set; }
public LinphoneManager Manager { get; set; }
......
......@@ -247,7 +247,6 @@ namespace Xamarin
private void onUploadLogsCliked(object sender, EventArgs e)
{
Core.LogCollectionUploadServerUrl = "https://www.linphone.org:444/lft.php";
Core.UploadLogCollection();
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment