From ee4aca301006167ac29842d327995f9e4f0912f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 10 Jul 2023 19:48:37 +0300 Subject: webrtcsink: Set config-interval=-1 and aggregate-mode=zero-latency on rtph26[45]pay Part-of: --- net/webrtc/src/utils.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/net/webrtc/src/utils.rs b/net/webrtc/src/utils.rs index c32282526..a286e00b7 100644 --- a/net/webrtc/src/utils.rs +++ b/net/webrtc/src/utils.rs @@ -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); + } _ => (), } -- cgit v1.2.3