From fba1e7ccb12cd83865b736d873bcd8ac28e73920 Mon Sep 17 00:00:00 2001 From: Sylvain Berfini Date: Wed, 19 Apr 2017 18:14:28 +0200 Subject: [PATCH] Fixed missing bandwidth information for video/text since rework --- coreapi/linphonecall.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/coreapi/linphonecall.c b/coreapi/linphonecall.c index b7d5917fb..2d90b81e8 100644 --- a/coreapi/linphonecall.c +++ b/coreapi/linphonecall.c @@ -4467,9 +4467,9 @@ static void report_bandwidth_for_stream(LinphoneCall *call, MediaStream *ms, Lin LinphoneCallStats *stats = NULL; if (type == LinphoneStreamTypeAudio) { stats = call->audio_stats; - } else if (type == LinphoneStreamTypeAudio) { + } else if (type == LinphoneStreamTypeVideo) { stats = call->video_stats; - } else if (type == LinphoneStreamTypeAudio) { + } else if (type == LinphoneStreamTypeText) { stats = call->text_stats; } else { return;