Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Show Cases
IBC 2019
multistream-server
Commits
ee8d4a95
Commit
ee8d4a95
authored
Aug 23, 2019
by
Olivier Crête
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
set explicit mpeg-ts latency
parent
21f0e461
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/main.c
src/main.c
+1
-1
No files found.
src/main.c
View file @
ee8d4a95
...
@@ -267,7 +267,7 @@ int main (int argc, char *argv[])
...
@@ -267,7 +267,7 @@ int main (int argc, char *argv[])
http_server
=
mss_http_server_new
();
http_server
=
mss_http_server_new
();
pipeline_str
=
g_strdup_printf
(
"srtsrc uri=%s?mode=listener ! tsparse ! tee name=t ! "
pipeline_str
=
g_strdup_printf
(
"srtsrc uri=%s?mode=listener ! tsparse ! tee name=t ! "
"queue ! decodebin ! videoconvert ! autovideosink "
"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 "
"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 "
"t. ! queue leaky=downstream max-size-buffers=10 ! rtpmp2tpay ! ristsink bonding-addresses=%s "
"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 ! tsdemux ! rtph264pay config-interval=1 ! application/x-rtp,payload=96 ! tee name=webrtctee allow-not-linked=true "
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment