set RTP stats at end of call

This commit is contained in:
Simon Morlat 2010-05-20 15:01:54 +02:00
parent 9853e104e8
commit ff1bcf9225
2 changed files with 6 additions and 1 deletions

View file

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

2
oRTP

@ -1 +1 @@
Subproject commit a80e7b5949e64ec01d4149d5e0f56c9843df35b0
Subproject commit 4ad63e9a106aee8d9dfb675aa0532962f322609c