Commit f60f590a authored by Jakub Adam's avatar Jakub Adam
Browse files

Update hlssink parameters

target-duration=5 playlist-length=3
parent 54b02600
......@@ -220,7 +220,7 @@ int main (int argc, char *argv[])
pipeline_str = g_strdup_printf ("srtsrc uri=%s ! tsparse ! tee name=t ! "
"queue ! decodebin ! videoconvert ! autovideosink "
"t. ! queue leaky=downstream ! tsdemux ! mpegtsmux ! hlssink location=%s/segment%%05d.ts playlist-location=%s/playlist.m3u8 "
"t. ! queue leaky=downstream ! tsdemux ! mpegtsmux ! hlssink location=%s/segment%%05d.ts playlist-location=%s/playlist.m3u8 target-duration=5 playlist-length=3 "
"t. ! queue leaky=downstream max-size-buffers=400 ! rtpmp2tpay ! ristsink "
"t. ! queue leaky=downstream ! tsdemux ! h264parse ! rtph264pay ! application/x-rtp,payload=96 ! tee name=webrtctee allow-not-linked=true"
,
......
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