mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-29 00:59:20 +00:00
Fixing warning in linphonecall.c
linphone_call_handle_stream_events - cast double to float
This commit is contained in:
parent
fffadbb4ec
commit
76ccd7c138
1 changed files with 1 additions and 1 deletions
|
|
@ -4887,7 +4887,7 @@ void linphone_call_handle_stream_events(LinphoneCall *call, int stream_index){
|
|||
ms_message("Video bandwidth estimation is %i kbit/s", (int)evd->info.video_bandwidth_available / 1000);
|
||||
/* If this event happens then it should be a video stream */
|
||||
if (stream_index == call->main_video_stream_index)
|
||||
stats->estimated_download_bandwidth = (float)(evd->info.video_bandwidth_available)*1e-3;
|
||||
stats->estimated_download_bandwidth = (float)(evd->info.video_bandwidth_available)*(float)1e-3;
|
||||
}
|
||||
ortp_event_destroy(ev);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue