webrtcsink: Set config-interval=-1 and aggregate-mode=zero-latency on rtph26[45]pay

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1272>
This commit is contained in:
Sebastian Dröge 2023-07-10 19:48:37 +03:00
parent 957a28f239
commit ee4aca3010

View file

@ -586,6 +586,11 @@ impl Codec {
"rtpvp8pay" | "rtpvp9pay" => {
res = res.property_from_str("picture-id-mode", "15-bit");
}
"rtph264pay" | "rtph265pay" => {
res = res
.property_from_str("aggregate-mode", "zero-latency")
.property("config-interval", -1i32);
}
_ => (),
}