diff --git a/coreapi/linphonecall.c b/coreapi/linphonecall.c index cbb6624d4..a4903ed1a 100644 --- a/coreapi/linphonecall.c +++ b/coreapi/linphonecall.c @@ -2713,6 +2713,8 @@ static void handle_ice_events(LinphoneCall *call, OrtpEvent *ev){ } } + +/*do not change the prototype of this function, it is also used internally in linphone-daemon.*/ void linphone_call_stats_fill(LinphoneCallStats *stats, MediaStream *ms, OrtpEvent *ev){ OrtpEventType evt=ortp_event_get_type(ev); OrtpEventData *evd=ortp_event_get_data(ev); diff --git a/coreapi/private.h b/coreapi/private.h index fa19c431e..ee980edf4 100644 --- a/coreapi/private.h +++ b/coreapi/private.h @@ -329,6 +329,7 @@ const struct addrinfo *linphone_core_get_stun_server_addrinfo(LinphoneCore *lc); void linphone_core_adapt_to_network(LinphoneCore *lc, int ping_time_ms, LinphoneCallParams *params); int linphone_core_gather_ice_candidates(LinphoneCore *lc, LinphoneCall *call); void linphone_core_update_ice_state_in_call_stats(LinphoneCall *call); +void linphone_call_stats_fill(LinphoneCallStats *stats, MediaStream *ms, OrtpEvent *ev); void linphone_core_update_local_media_description_from_ice(SalMediaDescription *desc, IceSession *session); void linphone_core_update_ice_from_remote_media_description(LinphoneCall *call, const SalMediaDescription *md); bool_t linphone_core_media_description_contains_video_stream(const SalMediaDescription *md);