Commit 32d593b5 authored by Nicolas Dufresne's avatar Nicolas Dufresne

Fix SRT output stream

srtsink blocks, so we need a leaky queue, but 200 buffers wasn't enough
leading to constantly broken stream.
parent 101adf01
......@@ -355,7 +355,7 @@ int main (int argc, char *argv[])
pipeline_str = g_strdup_printf (
"srtsrc uri=%s?mode=listener name=src latency=50 ! queue name=srtqueue ! tsparse smoothing-latency=50000 set-timestamps=1 ! tee name=t "
"t. ! queue ! rtpmp2tpay ! ristsink bonding-addresses=%s async=0 "
"t. ! queue leaky=downstream ! srtsink uri=srt://:7002?mode=listener async=0 "
"t. ! queue leaky=downstream max-size-buffers=400 ! srtsink uri=srt://:7002?mode=listener async=0 "
"t. ! queue ! tsdemux latency=50 ! tee name=h264_t "
"h264_t. ! queue ! decodebin ! videoconvert ! " DEFAULT_VIDEOSINK " async=0 "
"h264_t. ! queue ! h264parse ! video/x-h264, alignment=au ! "
......
Markdown is supported
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