From fe1f6272324192e625a983808baa1dc8de17ccbb Mon Sep 17 00:00:00 2001 From: Simon Morlat Date: Fri, 5 Apr 2013 18:24:07 +0200 Subject: [PATCH] set mtu to 1300 because mtu detection is absolutely not reliable. This is making a lot of problems with video packets especially. --- coreapi/linphonecore.c | 2 +- mediastreamer2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/coreapi/linphonecore.c b/coreapi/linphonecore.c index 0089dd0f..7b4d6a99 100644 --- a/coreapi/linphonecore.c +++ b/coreapi/linphonecore.c @@ -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); diff --git a/mediastreamer2 b/mediastreamer2 index 8596ed90..f6c51a11 160000 --- a/mediastreamer2 +++ b/mediastreamer2 @@ -1 +1 @@ -Subproject commit 8596ed9017c0d9b9c63c758d7628bac1fc07efd7 +Subproject commit f6c51a11f1ef1156c6f768b8466698a2305a2188 -- 2.39.2