Rtpbin does not recover after playthrought and requires exact launch sequence, am I missing something?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Rtpbin does not recover after playthrought and requires exact launch sequence, am I missing something?

Ignas Brašiškis
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?


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Rtpbin does not recover after playthrought and requires exact launch sequence, am I missing something?

Sebastian Dröge-3
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
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (981 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Rtpbin does not recover after playthrought and requires exact launch sequence, am I missing something?

Ignas Brašiškis
config-interval transmission set to 1 helped.

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel