aler9
1f540a2aaf
return error in case of non-existent parameters in the configuration file
4 years ago
aler9
b748e6d0ff
update error messages
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
64808863ed
move confenv into conf
4 years ago
aler9
68ab5c05f6
move aac utilities into gortsplib
4 years ago
aler9
3b0327233e
move hls utils into gortsplib
4 years ago
aler9
06cffc44df
hls: move constants into right file
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
ef4b925209
hls: fix discontinuity of TS counters between segments
4 years ago
aler9
98bf53a1e8
hls: simplify audio pts generation
4 years ago
aler9
74f3be1eed
hls: use audioAUCount only if audio is primary track
4 years ago
aler9
02afa8ff99
rtmp, hls: remove initial difference of 2secs between PTS and DTS of H264
4 years ago
aler9
2710189945
hls: fix error that caused primary playlist not to be served to more than 1 client
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
aler9
7ba507f205
rtmp: print clearer error message in case no H264/AAC tracks are found
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
6b6d314a07
hls: revert 93b1433
and send PCR once in a while
4 years ago
aler9
b3c13fcf9a
hls: do not send DTS if PTS = DTS
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
aler9
ba41af91b2
hls: remove useless check
4 years ago
aler9
bd5e6d1027
hls: send PCR with every IDR NALU
4 years ago
aler9
93b143395e
hls: send PCR once, at the beginning of every TS segment
4 years ago
aler9
2d71e69e43
hls: speed up loading by decreasing PTS
4 years ago
aler9
30910d52d2
hls: increase video size up to 100% of the page ( #480 )
4 years ago
aler9
ffe4a2d1e7
hls: support reading on iOS Safari
4 years ago
aler9
600f7bf48c
hls: move NALU filtering into hls muxer
4 years ago
aler9
d5b10fdd66
hls: improve tests
4 years ago
aler9
6ad638d0e8
hls: fix compatibility with video.js and iOS
...
add AUDs to all h264 packet groups
4 years ago
aler9
40a5c78c8d
fix comment
4 years ago
aler9
3828b71206
fix docs
4 years ago
aler9
5a814480b3
hls: write PMT/PAT tables once at the beginning of every TS segment
4 years ago
aler9
eb5bab7e58
hls: set default segment count to 3
4 years ago
aler9
9486f4f32d
hls: reply with 404 to invalid requests
4 years ago
aler9
7765de44fc
api: log right protocol version of responses
4 years ago