From 6a99d9bf65aa5878cb409945ed2bdbdcb916d047 Mon Sep 17 00:00:00 2001
From: chenqiyang <1406175257@qq.com>
Date: 星期五, 02 九月 2022 14:56:40 +0800
Subject: [PATCH] 更新linphone sdk

---
 Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/mediastreamer2.framework/Headers/bitratecontrol.h |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/mediastreamer2.framework/Headers/bitratecontrol.h b/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/mediastreamer2.framework/Headers/bitratecontrol.h
index 4b5b28a..73723a0 100755
--- a/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/mediastreamer2.framework/Headers/bitratecontrol.h
+++ b/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/mediastreamer2.framework/Headers/bitratecontrol.h
@@ -40,6 +40,8 @@
 	struct _MediaStream *controlled_stream; /*the most bandwidth consuming stream, which is the one flow controlled*/
 	MSBandwidthControllerStats stats;
 	float remote_video_bandwidth_available_estimated;
+	float maximum_bw_usage;
+	float currently_requested_stream_bandwidth; // According to congestion control and bandwith estimator only.
 	bool_t congestion_detected;
 };
 /**
@@ -54,6 +56,13 @@
 
 MS2_PUBLIC MSBandwidthController *ms_bandwidth_controller_new(void);
 
+/**
+ * Set an explicit download bandwidth target usage expressed in bits/seconds, used for video conferencing cases.
+ * This target bandwidth is considered as a maximum that shall not be exceeded.
+ * The congestion control and bandwidth estimations are used normally to find the correct bandwidth usage below this target usage.
+ */
+MS2_PUBLIC void  ms_bandwidth_controller_set_maximum_bandwidth_usage(MSBandwidthController *obj, int bitrate);
+
 MS2_PUBLIC void ms_bandwidth_controller_add_stream(MSBandwidthController *obj, struct _MediaStream *stream);
 
 MS2_PUBLIC void ms_bandwidth_controller_remove_stream(MSBandwidthController *obj, struct _MediaStream *stream);

--
Gitblit v1.8.0