diff --git a/coreapi/linphonecore.c b/coreapi/linphonecore.c index 5b4016ffe..f62449e62 100644 --- a/coreapi/linphonecore.c +++ b/coreapi/linphonecore.c @@ -2316,8 +2316,13 @@ void linphone_core_start_media_streams(LinphoneCore *lc, LinphoneCall *call){ lc->call->state=LCStateAVRunning; } +static void linphone_call_log_fill_stats(LinphoneCallLog *log, AudioStream *st){ + audio_stream_get_local_rtp_stats (st,&log->local_stats); +} + void linphone_core_stop_media_streams(LinphoneCore *lc, LinphoneCall *call){ if (lc->audiostream!=NULL) { + linphone_call_log_fill_stats (call->log,lc->audiostream); audio_stream_stop(lc->audiostream); lc->audiostream=NULL; } diff --git a/oRTP b/oRTP index a80e7b594..4ad63e9a1 160000 --- a/oRTP +++ b/oRTP @@ -1 +1 @@ -Subproject commit a80e7b5949e64ec01d4149d5e0f56c9843df35b0 +Subproject commit 4ad63e9a106aee8d9dfb675aa0532962f322609c