Commit Graph

12 Commits

Author SHA1 Message Date
aler9
c9c9c88ac8 update golangci-lint 2021-10-30 13:06:29 +02:00
aler9
ab70f946b0 unexport members of private structs 2021-10-27 21:01:00 +02:00
aler9
75d4f1437d add "error" log level 2021-10-27 19:54:36 +02:00
aler9
ef3fab477e hls: use gin as HTTP router 2021-10-17 16:49:49 +02:00
aler9
e78544f23e update gortsplib 2021-09-28 15:47:56 +02:00
aler9
ab71f22560 move decoding of more configuration into JSON decoding 2021-09-27 16:40:49 +02:00
aler9
6921a402d1 decode the configuration when decoding JSON 2021-09-27 16:40:49 +02:00
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
2021-09-26 23:21:37 +02:00
aler9
b65207012c update gortsplib 2021-08-25 19:51:59 +02:00
aler9
6d69e4969e hls: set html video height to 100% 2021-08-23 13:12:14 +02:00
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
4fdd42fa58 hls: rename remuxer into muxer 2021-08-18 15:49:12 +02:00