From f88c88ddb31f4d67e60ca71bed0b7fb26f1fc17c Mon Sep 17 00:00:00 2001 From: Jerome Colle Date: Tue, 29 Oct 2024 09:53:43 +0100 Subject: [PATCH] webrtcsink: set rtpgccbwe min bitrate Part-of: --- net/webrtc/src/webrtcsink/imp.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/net/webrtc/src/webrtcsink/imp.rs b/net/webrtc/src/webrtcsink/imp.rs index 81c4434b..3432f022 100644 --- a/net/webrtc/src/webrtcsink/imp.rs +++ b/net/webrtc/src/webrtcsink/imp.rs @@ -1475,7 +1475,9 @@ impl SessionInner { if let Some(rtpgccbwe) = self.rtpgccbwe.as_ref() { let max_bitrate = self.cc_info.max_bitrate * (self.encoders.len() as u32); + let min_bitrate = self.cc_info.min_bitrate * (self.encoders.len() as u32); rtpgccbwe.set_property("max-bitrate", max_bitrate); + rtpgccbwe.set_property("min-bitrate", min_bitrate); } } }