mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-01-08 18:25:30 +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/1285>
This commit is contained in:
parent
482b7e1469
commit
bdcdbfeaaf
1 changed files with 4 additions and 0 deletions
|
@ -553,6 +553,10 @@ fn setup_encoding(
|
|||
"rtpvp8pay" | "rtpvp9pay" => {
|
||||
pay.set_property_from_str("picture-id-mode", "15-bit");
|
||||
}
|
||||
"rtph264pay" | "rtph265pay" => {
|
||||
pay.set_property_from_str("aggregate-mode", "zero-latency");
|
||||
pay.set_property("config-interval", -1i32);
|
||||
}
|
||||
_ => (),
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue