set mtu to 1300 because mtu detection is absolutely not reliable.

This is making a lot of problems with video packets especially.
This commit is contained in:
Simon Morlat 2013-04-05 18:24:07 +02:00
parent aad536f02b
commit ec1d4483a9
2 changed files with 2 additions and 2 deletions

View file

@ -463,7 +463,7 @@ static void net_config_read (LinphoneCore *lc)
linphone_core_set_firewall_policy(lc,tmp);
tmp=lp_config_get_int(lc->config,"net","nat_sdp_only",0);
lc->net_conf.nat_sdp_only=tmp;
tmp=lp_config_get_int(lc->config,"net","mtu",0);
tmp=lp_config_get_int(lc->config,"net","mtu",1300);
linphone_core_set_mtu(lc,tmp);
tmp=lp_config_get_int(lc->config,"net","download_ptime",0);
linphone_core_set_download_ptime(lc,tmp);

@ -1 +1 @@
Subproject commit 8596ed9017c0d9b9c63c758d7628bac1fc07efd7
Subproject commit f6c51a11f1ef1156c6f768b8466698a2305a2188