Commit Graph

880 Commits

Author SHA1 Message Date
aler9
ae0d959892 update go-astits 2021-10-01 14:05:20 +02:00
aler9
722f380d83 update readme 2021-09-30 13:18:53 +02:00
aler9
c46ae16dc7 run runOnRead command also with RTMP readers 2021-09-30 13:12:20 +02:00
aler9
e62ed283d1 rtmp: do not raise an error in case of metadata packets (#577) 2021-09-30 11:57:03 +02:00
aler9
fc46c33a96 avoid crash when proxing HLS (#558) 2021-09-30 11:49:06 +02:00
aler9
e851640ab6 avoid crash in case of invalid H264 SPS (#590) 2021-09-28 22:26:26 +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
f114e90c55 speed up tests 2021-09-27 16:40:49 +02:00
aler9
1f540a2aaf return error in case of non-existent parameters in the configuration file 2021-09-27 16:40:49 +02:00
aler9
b748e6d0ff update error messages 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
54292d712e convert the configuration into JSON before loading it 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
64808863ed move confenv into conf 2021-09-26 22:25:39 +02:00
aler9
68ab5c05f6 move aac utilities into gortsplib 2021-09-23 20:24:10 +02:00
aler9
3b0327233e move hls utils into gortsplib 2021-09-23 20:14:20 +02:00
aler9
aec5f53756 rtsp: do not allow a client to control a session created with a different IP 2021-09-23 19:54:29 +02:00
aler9
2d5e1fa823 use crypto/rand instead of math/rand to avoid port conflicts and security issues 2021-09-23 19:38:40 +02:00
aler9
21539d341c update gortsplib; this include:
* do not allow a session to setup UDP tracks from different IPs
* do not allow a reader to use the same UDP ports of another reader
2021-09-23 19:20:34 +02:00
aler9
06cffc44df hls: move constants into right file 2021-09-23 11:14:57 +02:00
aler9
e2f33a7495 api: support working with path configs that contains slashes (#581) 2021-09-23 09:07:36 +02:00
aler9
9398cea0c2 update golangci-lint 2021-09-09 23:05:54 +02:00
aler9
44c3d7c5d5 update readme 2021-09-07 12:57:53 +02:00
aler9
ef4b925209 hls: fix discontinuity of TS counters between segments 2021-09-07 12:02:44 +02:00
aler9
98bf53a1e8 hls: simplify audio pts generation 2021-09-07 10:24:57 +02:00
aler9
74f3be1eed hls: use audioAUCount only if audio is primary track 2021-09-07 10:23:32 +02:00
aler9
02afa8ff99 rtmp, hls: remove initial difference of 2secs between PTS and DTS of H264 2021-09-07 10:04:58 +02:00
aler9
2710189945 hls: fix error that caused primary playlist not to be served to more than 1 client 2021-09-06 20:02:23 +02:00
aler9
e189f4570c hls, rtmp: set DTS = PTS when a IDR frame is received 2021-09-06 19:04:39 +02:00
aler9
ddcd0c34cf api: fix concurrency issue when creating multiple path configs at once (#542) 2021-09-06 18:39:15 +02:00
aler9
a4679a3a4a apidocs: update description 2021-09-06 17:51:08 +02:00
aler9
8cac462522 add API documentation badge 2021-09-06 17:50:01 +02:00
aler9
83b3ec0c71 update readme 2021-09-05 18:11:24 +02:00
aler9
df4c268813 support proxying HLS 2021-09-05 18:00:29 +02:00
aler9
5eb4741278 hls: speed up serving of files 2021-09-05 15:47:28 +02:00
aler9
7ba507f205 rtmp: print clearer error message in case no H264/AAC tracks are found 2021-08-31 10:42:08 +02:00
Lionel Nicolas
450acfaf4e externalcmd: fix crash when manually pushing to an ondemand path 2021-08-27 08:37:24 +02:00
aler9
b65207012c update gortsplib 2021-08-25 19:51:59 +02:00
aler9
57f465ccd8 rtsp source: support servers that change interleaved IDs 2021-08-25 18:10:20 +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
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
9d5da00de4 apidocs: add missing source types 2021-08-20 10:12:25 +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