add doc on linphone_core_get_mtu & remove it in linphonecore.c

This commit is contained in:
Ronan Abhamon 2017-02-23 16:44:45 +01:00
parent d039f1e7d4
commit 95664d6879
2 changed files with 4 additions and 5 deletions

View file

@ -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;
}

View file

@ -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);
/**