mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-22 03:21:00 +00:00
webrtcsink: set rtpgccbwe min bitrate
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1896>
This commit is contained in:
parent
26a6c3b7b9
commit
f88c88ddb3
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue