mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-23 06:08:07 +00:00
set RTP stats at end of call
This commit is contained in:
parent
9853e104e8
commit
ff1bcf9225
2 changed files with 6 additions and 1 deletions
|
|
@ -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
2
oRTP
|
|
@ -1 +1 @@
|
|||
Subproject commit a80e7b5949e64ec01d4149d5e0f56c9843df35b0
|
||||
Subproject commit 4ad63e9a106aee8d9dfb675aa0532962f322609c
|
||||
Loading…
Add table
Reference in a new issue