SRT sink doesn't always start properly

MathieuP mathieu.pierfitte at nirovision.com
Mon May 18 01:47:05 UTC 2020


I am trying to use SRT sink with GStreamer 1.16.0 on Ubuntu and I am facing
an issue at startup that is quite frequent. Once it's up and running it
works great, but about 50% of the time it simply doesn't want to start.

I managed to come up with a very simple pipeline to reproduce my issue

First, I start the consumer:
gst-launch-1.0 -v srtsrc uri="srt://127.0.0.1:8888" ! identity silent=false
! fakesink async=false

And then I try broadcasting something:
gst-launch-1.0 -v videotestsrc ! queue ! x264enc ! queue ! mpegtsmux
alignment=7 ! identity silent=false ! queue leaky=downstream ! srtsink
uri="srt://:8888" sync=false async=false

The identity element from my consumer will print stuff when it works, and I
tend to have to restart my 2nd pipeline 2 or 3 times before that happens,
even though the identity from this pipeline will always print, proving that
buffers seem to be flowing through normally there

Does anyone have experience with SRT streaming in GStreamer? Is anything
wrong with my pipeline?
My knowledge on SRT is quite limited (thanks GStreamer for abstracting all
that complexity), so I am not sure what else I can do to help with debugging
here.



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list