diff --git a/coreapi/linphonecore.c b/coreapi/linphonecore.c index 63f538acf..cf1b39770 100644 --- a/coreapi/linphonecore.c +++ b/coreapi/linphonecore.c @@ -5181,11 +5181,6 @@ void linphone_core_set_user_data(LinphoneCore *lc, void *userdata){ lc->data=userdata; } -/** - * Returns the maximum transmission unit size in bytes. - * - * @ingroup media_parameters -**/ int linphone_core_get_mtu(const LinphoneCore *lc){ return lc->net_conf.mtu; } diff --git a/include/linphone/core.h b/include/linphone/core.h index 26e6125f6..94988c67c 100644 --- a/include/linphone/core.h +++ b/include/linphone/core.h @@ -3425,6 +3425,10 @@ LINPHONE_PUBLIC void linphone_core_stop_dtmf(LinphoneCore *lc); LINPHONE_PUBLIC int linphone_core_get_current_call_duration(const LinphoneCore *lc); +/** + * Returns the maximum transmission unit size in bytes. + * @ingroup media_parameters +**/ LINPHONE_PUBLIC int linphone_core_get_mtu(const LinphoneCore *lc); /**