Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2023-07-10 19:48:37 +0300
committerSebastian Dröge <sebastian@centricular.com>2023-07-10 19:48:37 +0300
commitee4aca301006167ac29842d327995f9e4f0912f5 (patch)
tree67d4cc963129a40a37ac45c9b1c808562d44b805
parent957a28f23971fb9a7725c2ccb1568957644793ed (diff)
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>
-rw-r--r--net/webrtc/src/utils.rs5
1 files changed, 5 insertions, 0 deletions
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);
+ }
_ => (),
}