aler9
92523c2a13
hls: insert segments into playlist only after they're complete
...
In this way, EXT-X-TARGETDURATION and EXTINF are always filled correctly.
If no segments have been generated yet, the playlist is not returned
until a segment is inserted or the muxer is closed. This causes timeout
issues on iOS Safari, that are solved by waiting for a fetch() before starting
the video.
2021-08-23 13:12:09 +02:00
aler9
6b6d314a07
hls: revert 93b1433
and send PCR once in a while
2021-08-21 21:13:23 +02:00
aler9
b3c13fcf9a
hls: do not send DTS if PTS = DTS
2021-08-20 13:07:35 +02:00
aler9
6e5564c0a2
api: return rtspsSessions in case of RTSPS sessions
2021-08-20 10:32:43 +02:00
aler9
da44bbd18a
api: normalize entity names
2021-08-20 10:13:41 +02:00
aler9
801ef44f54
rtsp, rtmp: fix ignored errors
2021-08-19 17:28:42 +02:00
aler9
4fdd42fa58
hls: rename remuxer into muxer
2021-08-18 15:49:12 +02:00
aler9
ca499a27c3
remove stats from rtmp and rtsp source
2021-08-18 15:43:56 +02:00
aler9
60823aa2b6
print 'ready' only when a source is really ready
2021-08-18 15:42:41 +02:00
aler9
a2ff0d455f
do not allow closed static sources to set a path as ready
2021-08-18 15:41:03 +02:00
aler9
96cb56621a
hls: add primary playlist
2021-08-16 18:07:10 +02:00
aler9
ba41af91b2
hls: remove useless check
2021-08-15 09:23:19 +02:00
aler9
bd5e6d1027
hls: send PCR with every IDR NALU
2021-08-15 09:06:55 +02:00
aler9
93b143395e
hls: send PCR once, at the beginning of every TS segment
2021-08-14 17:25:40 +02:00
aler9
2d71e69e43
hls: speed up loading by decreasing PTS
2021-08-14 17:08:35 +02:00
aler9
30910d52d2
hls: increase video size up to 100% of the page ( #480 )
2021-08-14 16:51:51 +02:00
aler9
ffe4a2d1e7
hls: support reading on iOS Safari
2021-08-14 16:35:25 +02:00
aler9
600f7bf48c
hls: move NALU filtering into hls muxer
2021-08-14 16:35:25 +02:00
aler9
d5b10fdd66
hls: improve tests
2021-08-14 16:35:25 +02:00
aler9
6ad638d0e8
hls: fix compatibility with video.js and iOS
...
add AUDs to all h264 packet groups
2021-08-14 16:35:09 +02:00
aler9
40a5c78c8d
fix comment
2021-08-14 16:21:05 +02:00
aler9
3828b71206
fix docs
2021-08-14 13:52:57 +02:00
aler9
5a814480b3
hls: write PMT/PAT tables once at the beginning of every TS segment
2021-08-14 13:05:42 +02:00
aler9
eb5bab7e58
hls: set default segment count to 3
2021-08-14 12:27:00 +02:00
aler9
9486f4f32d
hls: reply with 404 to invalid requests
2021-08-14 11:15:59 +02:00
aler9
7765de44fc
api: log right protocol version of responses
2021-08-14 11:08:02 +02:00
aler9
e0a215ab53
api: log requests and responses even in case of code 404
2021-08-14 11:00:56 +02:00
aler9
0de711d7e0
hls, rtmp: print clearer error messages ( #501 )
...
in case a stream doesn't contain a H264 track
or a AAC track.
2021-08-13 14:16:36 +02:00
aler9
d7f1c04711
close custom commands with SIGQUIT instead of SIGINT ( #495 )
2021-08-12 15:16:39 +02:00
aler9
f1a812ba5d
rewrite metrics system to provide more data ( #492 )
2021-08-12 11:49:21 +02:00
aler9
6702cb41ed
api: make sure that entities are deleted immediately after a kick request
2021-08-12 10:50:29 +02:00
aler9
da7f9c7ee1
api: add RTSPS endpoints to list and kick RTSPS sessions
2021-08-11 17:33:43 +02:00
aler9
e57177ef49
cleanup
2021-08-11 13:57:33 +02:00
aler9
20ac25571c
api: add "state" field to RTSP sessions and RTMP connections
2021-08-11 12:25:19 +02:00
aler9
6163095a11
fix crash that happens when sourceOnDemand is true and a source times out
2021-08-10 18:36:34 +02:00
aler9
3872b42434
hls: fix freeze when sourceOnDemand is yes and multiple sources are requested at the same time ( #493 )
2021-08-10 15:00:07 +02:00
aler9
10b5a6b4dd
api: add v1 prefix
2021-08-07 19:20:39 +02:00
aler9
478102adc5
change default listen IP of metrics and pprof to 127.0.0.1
2021-08-07 19:20:39 +02:00
aler9
dd33ef740e
api: change default listen address to 127.0.0.1:9997
2021-08-07 19:20:39 +02:00
aler9
3134b95e80
api: add documentation
2021-08-07 19:20:39 +02:00
aler9
fdd487f3c5
rename "record" source value into "publisher"
2021-08-07 19:20:39 +02:00
aler9
0535ab8e9c
api: add tests
2021-08-07 19:20:39 +02:00
aler9
5943660ab3
api: print all requests and responses when logLevel is debug
2021-08-07 19:20:39 +02:00
aler9
ed375583d0
Implement an HTTP API to query and control the server
2021-08-07 19:20:39 +02:00
aler9
e516d265d6
refactor ondemand system
2021-08-03 22:40:47 +02:00
aler9
fd27ed941e
fix multiple freezes
2021-08-01 17:22:28 +02:00
aler9
90e24b79cb
cleanup
2021-08-01 16:58:46 +02:00
aler9
f0a283d141
reload only rtsp server when authMethods is changed
2021-08-01 16:56:53 +02:00
aler9
f1b365a7bc
cleanup
2021-08-01 16:39:40 +02:00
aler9
be1e7c5cc9
move code into gortsplib
2021-07-31 21:27:55 +02:00