Commit f6e9f359 authored by Alessandro Decina's avatar Alessandro Decina
Browse files

rtpbin: when a stream is created, pause the jitterbuffer if rtpbin is buffering.

parent 38a5b08e
......@@ -1181,6 +1181,15 @@ create_stream (GstRtpBinSession * session, guint32 ssrc)
if (demux)
gst_element_link (buffer, demux);
if (rtpbin->buffering) {
guint64 last_out;
"bin is buffering, set jitterbuffer as not active");
g_signal_emit_by_name (buffer, "set-active", FALSE, (gint64) 0, &last_out);
target = GST_STATE_TARGET (rtpbin);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment