Rtpbin does not recover after playthrought and requires exact launch sequence, am I missing something?
Sebastian Dröge
sebastian at centricular.com
Fri Dec 9 10:02:04 UTC 2016
On Fri, 2016-12-09 at 10:15 +0200, Ignas Brašiškis wrote:
> I have problem with rtpbin. I am sending h264 and If the receiver is
> not started before sender it does not obtain video stream at all.
> Moreover if I stop receiver and launch it again receiver does not see
> the stream.
> I have same behaviour with gstlaunch and c sender program.
> Rtpbin works if I:
> I start receiver pipeline. Then start sender pipeline. Other way
> around produce nothing in receiver pipeline thought sender and
> receiver pipelines do not crash. They are just stuck somewhere.
> If I stop receiver and launch it again it does not reconect. what I
> should to connect to already running sender. Do I have to handle some
> signals?
> My usecase is RPis streaming h264 to central pc node. Problem is that
> starting PC application before rpis pipelines is somewhat pain in ass
> in my case. Any examples suggestion what could be done?
This sounds like your h264 stream does not have any (repeating) SPS/PPS
inside the stream. See the config-interval property on rtph264pay for
regularly resending those, but ideally you should configure them on the
receiver out-of-band via the caps (or via an SDP).
--
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20161209/0e04cf92/attachment.sig>
More information about the gstreamer-devel
mailing list