mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-03-28 19:45:28 +00:00
webrtcsink: call recalculate_latency on LATENCY messages
This commit is contained in:
parent
ee200326ef
commit
b51cdb9de0
1 changed files with 6 additions and 0 deletions
|
@ -1712,6 +1712,12 @@ impl WebRTCSink {
|
|||
}
|
||||
}
|
||||
}
|
||||
gst::MessageView::Latency(..) => {
|
||||
if let Some(pipeline) = pipeline_clone.upgrade() {
|
||||
gst_info!(CAT, obj: &pipeline, "Recalculating latency");
|
||||
let _ = pipeline.recalculate_latency();
|
||||
}
|
||||
}
|
||||
gst::MessageView::Eos(..) => {
|
||||
gst_error!(
|
||||
CAT,
|
||||
|
|
Loading…
Reference in a new issue