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
193dd77e
Commit
193dd77e
authored
Aug 29, 2019
by
Nicolas Dufresne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mss: Use hlssink2
Because it's newer but also more accurate on segment split.
parent
c1ef2730
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/main.c
src/main.c
+3
-3
No files found.
src/main.c
View file @
193dd77e
...
@@ -310,7 +310,7 @@ print_stats (gpointer user_data)
...
@@ -310,7 +310,7 @@ print_stats (gpointer user_data)
g_object_get
(
src
,
"stats"
,
&
s
,
NULL
);
g_object_get
(
src
,
"stats"
,
&
s
,
NULL
);
str
=
gst_structure_to_string
(
s
);
str
=
gst_structure_to_string
(
s
);
g_debug
(
"%s"
,
str
);
//
g_debug ("%s", str);
g_free
(
str
);
g_free
(
str
);
gst_structure_free
(
s
);
gst_structure_free
(
s
);
...
@@ -352,8 +352,8 @@ int main (int argc, char *argv[])
...
@@ -352,8 +352,8 @@ int main (int argc, char *argv[])
"t. ! queue leaky=downstream ! srtsink uri=srt://:7002?mode=listener async=0 "
"t. ! queue leaky=downstream ! srtsink uri=srt://:7002?mode=listener async=0 "
"t. ! queue ! tsdemux latency=50 ! tee name=h264_t "
"t. ! queue ! tsdemux latency=50 ! tee name=h264_t "
"h264_t. ! queue ! decodebin ! videoconvert ! autovideosink async=0 "
"h264_t. ! queue ! decodebin ! videoconvert ! autovideosink async=0 "
"h264_t. ! queue ! h264parse ! video/x-h264, alignment=au !
mpegtsmux !
"
"h264_t. ! queue ! h264parse ! video/x-h264, alignment=au ! "
"hlssink location=%s/segment%%05d.ts playlist-location=%s/playlist.m3u8 target-duration=1 playlist-length=
3
async=0 "
"hlssink
2
location=%s/segment%%05d.ts playlist-location=%s/playlist.m3u8
send-keyframe-requests=0
target-duration=1 playlist-length=
5
async=0 "
"h264_t. ! queue ! h264parse ! rtph264pay config-interval=1 ! application/x-rtp,payload=96 ! tee name=webrtctee allow-not-linked=true "
,
"h264_t. ! queue ! h264parse ! rtph264pay config-interval=1 ! application/x-rtp,payload=96 ! tee name=webrtctee allow-not-linked=true "
,
srt_uri
,
srt_uri
,
rist_addresses
,
rist_addresses
,
...
...
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