mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-25 21:11:00 +00:00
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:
parent
957a28f239
commit
ee4aca3010
1 changed files with 5 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
_ => (),
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue