rtpsend: Don't configure a zero min RTCP interval for senders

Whether there are local senders or not should not have an effect on the
minimum interval other than for calculations of available bandwidth.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2361>
This commit is contained in:
Sebastian Dröge 2025-07-11 16:58:37 +03:00
parent 020afdfc96
commit 72677a6825

View file

@ -1325,9 +1325,7 @@ impl Session {
(n_members, rtcp_bw)
};
let min_rtcp_interval = if we_sent {
Duration::ZERO
} else if self.profile.is_feedback() {
let min_rtcp_interval = if self.profile.is_feedback() {
// RFC 4585 3.4d), 3.5.1
//
// If not the first RTCP then Tmin is initialized to 0, otherwise to 1s.