Commit ff1bcf92 authored by Simon Morlat's avatar Simon Morlat
Browse files

set RTP stats at end of call

parent 9853e104
...@@ -2316,8 +2316,13 @@ void linphone_core_start_media_streams(LinphoneCore *lc, LinphoneCall *call){ ...@@ -2316,8 +2316,13 @@ void linphone_core_start_media_streams(LinphoneCore *lc, LinphoneCall *call){
lc->call->state=LCStateAVRunning; 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){ void linphone_core_stop_media_streams(LinphoneCore *lc, LinphoneCall *call){
if (lc->audiostream!=NULL) { if (lc->audiostream!=NULL) {
linphone_call_log_fill_stats (call->log,lc->audiostream);
audio_stream_stop(lc->audiostream); audio_stream_stop(lc->audiostream);
lc->audiostream=NULL; lc->audiostream=NULL;
} }
oRTP @ 4ad63e9a
Subproject commit a80e7b5949e64ec01d4149d5e0f56c9843df35b0 Subproject commit 4ad63e9a106aee8d9dfb675aa0532962f322609c
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment