]> sjero.net Git - linphone/commitdiff
set mtu to 1300 because mtu detection is absolutely not reliable.
authorSimon Morlat <simon.morlat@linphone.org>
Fri, 5 Apr 2013 16:24:07 +0000 (18:24 +0200)
committerSimon Morlat <simon.morlat@linphone.org>
Fri, 5 Apr 2013 16:24:52 +0000 (18:24 +0200)
This is making a lot of problems with video packets especially.

coreapi/linphonecore.c
mediastreamer2

index 0089dd0fb423d317ce7190377fb317384ed9eb8a..7b4d6a9984dc71d1463ddd3316b855e573a99efc 100644 (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);
index 8596ed9017c0d9b9c63c758d7628bac1fc07efd7..f6c51a11f1ef1156c6f768b8466698a2305a2188 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 8596ed9017c0d9b9c63c758d7628bac1fc07efd7
+Subproject commit f6c51a11f1ef1156c6f768b8466698a2305a2188