Commit 00faf717 authored by Olivier Crête's avatar Olivier Crête

set srt latency to 50ms

parent 8ce66854
......@@ -342,9 +342,9 @@ int main (int argc, char *argv[])
http_server = mss_http_server_new ();
pipeline_str = g_strdup_printf ("srtsrc uri=%s?mode=listener name=src ! tsparse name=tsparse ! tee name=t ! "
"queue ! tsdemux latency=50 ! decodebin ! videoconvert ! autovideosink "
"t. ! queue leaky=downstream max-size-buffers=400 ! tsdemux ! h264parse ! video/x-h264, stream-format=avc ! h264parse ! mpegtsmux ! hlssink location=%s/segment%%05d.ts playlist-location=%s/playlist.m3u8 target-duration=1 playlist-length=3 "
pipeline_str = g_strdup_printf ("srtsrc uri=%s?mode=listener name=src latency=50 ! tsparse name=tsparse ! tee name=t ! "
"t. ! queue leaky=downstream max-size-buffers=10 ! rtpmp2tpay ! ristsink bonding-addresses=%s "
"t. ! queue leaky=downstream max-size-buffers=10 ! tsdemux ! rtph264pay config-interval=1 ! application/x-rtp,payload=96 ! tee name=webrtctee allow-not-linked=true "
"t. ! queue leaky=downstream max-size-buffers=10 ! srtsink uri=srt://:7002?mode=listener",
......
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