aler9
226e26e05f
metrics: use gin router
4 years ago
aler9
2af39db5be
hls: add https tests
4 years ago
aler9
9155bffefb
allow disabling HTTPS validation by using sourceFingerprint ( #665 )
4 years ago
aler9
d30822cb1b
make sourceFingerprint optional and allow standard certificate validation
4 years ago
aler9
be54bed373
remove useless checks
4 years ago
aler9
509bed355a
update gortsplib
4 years ago
aler9
f32d69a93d
fix race condition
4 years ago
aler9
e6238694af
api: log requests even with logLevel: info
4 years ago
aler9
c51ba926e0
hls: dump requests and responses when logLevel is debug
4 years ago
aler9
b65d715f0b
hls: add Server header
4 years ago
aler9
ef3fab477e
hls: use gin as HTTP router
4 years ago
aler9
b70a4bfe5b
fix regression that prevented setting config slices with env variables ( #612 )
4 years ago
aler9
0d15e2772a
close custom commands with SIGINT again ( #495 )
4 years ago
aler9
131148ecb4
fix lint
4 years ago
aler9
2a1b3e194d
avoid deadlock when a runOnDemand command is used and a path is deleted
4 years ago
aler9
0a9e414625
avoid closing readers twice
4 years ago
aler9
d2c668ceea
avoid deadlock when a runOnPublish command is reading and the publisher times out ( #595 ) ( #495 )
4 years ago
aler9
160966e81b
print log messages when runOnConnect and runOnRead are started or stopped
4 years ago
aler9
3149203f36
print log messages about custom commands closing after they are closed
4 years ago
aler9
507d810bff
make log messages about custom commands more clear
4 years ago
aler9
091056dd8e
add log messages when runOnPublish is started or stopped
4 years ago
aler9
c46ae16dc7
run runOnRead command also with RTMP readers
4 years ago
aler9
e62ed283d1
rtmp: do not raise an error in case of metadata packets ( #577 )
4 years ago
aler9
e78544f23e
update gortsplib
4 years ago
aler9
ab71f22560
move decoding of more configuration into JSON decoding
4 years ago
aler9
f114e90c55
speed up tests
4 years ago
aler9
1f540a2aaf
return error in case of non-existent parameters in the configuration file
4 years ago
aler9
6921a402d1
decode the configuration when decoding JSON
4 years ago
aler9
54292d712e
convert the configuration into JSON before loading it
4 years ago
aler9
ca9645c2f9
api: decode durations from strings instead of numbers
...
This allows to use human-readable durations with the API,
for instance: "5s" instead of 5000000000
4 years ago
aler9
3b0327233e
move hls utils into gortsplib
4 years ago
aler9
e2f33a7495
api: support working with path configs that contains slashes ( #581 )
4 years ago
aler9
9398cea0c2
update golangci-lint
4 years ago
aler9
02afa8ff99
rtmp, hls: remove initial difference of 2secs between PTS and DTS of H264
4 years ago
aler9
e189f4570c
hls, rtmp: set DTS = PTS when a IDR frame is received
4 years ago
aler9
ddcd0c34cf
api: fix concurrency issue when creating multiple path configs at once ( #542 )
4 years ago
aler9
df4c268813
support proxying HLS
4 years ago
aler9
5eb4741278
hls: speed up serving of files
4 years ago
Lionel Nicolas
450acfaf4e
externalcmd: fix crash when manually pushing to an ondemand path
4 years ago
aler9
b65207012c
update gortsplib
4 years ago
aler9
6d69e4969e
hls: set html video height to 100%
4 years ago
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.
4 years ago
aler9
6e5564c0a2
api: return rtspsSessions in case of RTSPS sessions
4 years ago
aler9
da44bbd18a
api: normalize entity names
4 years ago
aler9
801ef44f54
rtsp, rtmp: fix ignored errors
4 years ago
aler9
4fdd42fa58
hls: rename remuxer into muxer
4 years ago
aler9
ca499a27c3
remove stats from rtmp and rtsp source
4 years ago
aler9
60823aa2b6
print 'ready' only when a source is really ready
4 years ago
aler9
a2ff0d455f
do not allow closed static sources to set a path as ready
4 years ago
aler9
96cb56621a
hls: add primary playlist
4 years ago