Commit Graph

539 Commits

Author SHA1 Message Date
aler9
7067c02030 api: return static sources in paths/list even if sourceOnDemand is true 2022-08-04 20:28:38 +02:00
aler9
6afbdf1015 add intermediate layer between path and static sources 2022-07-30 21:52:37 +02:00
aler9
34eb1d1e7a normalize sources 2022-07-28 14:26:48 +02:00
aler9
8a4743fe9a hls muxer: when hlsAlwaysRemux is on, automatically recreate muxers in
case of errors
2022-07-24 13:06:09 +02:00
aler9
f7c08f577a rtmp: fix decoding of chunk3 + chunk3 2022-07-19 16:42:11 +02:00
Alessandro Ros
9e6abc6e9f
rtmp: rewrite implementation of rtmp connection (#1047)
* rtmp: improve MsgCommandAMF0

* rtmp: fix MsgSetPeerBandwidth

* rtmp: add message tests

* rtmp: replace implementation with new one

* rtmp: rename handshake functions

* rtmp: avoid calling useless function

* rtmp: use time.Duration for PTSDelta

* rtmp: fix decoding chunks with relevant size

* rtmp: rewrite implementation of rtmp connection

* rtmp: fix tests

* rtmp: improve error message

* rtmp: replace h264 config implementation

* link against github.com/notedit/rtmp

* normalize MessageStreamID

* rtmp: make acknowledge optional

* rtmp: fix decoding of chunk2 + chunk3

* avoid using encoding/binary
2022-07-17 15:17:18 +02:00
aler9
50d205274f fix tests 2022-07-17 12:02:17 +02:00
aler9
822a896a82 rtmp: fix rtmp -> rtsp audio conversion 2022-07-17 09:54:16 +02:00
aler9
ef3e18a9e9 rtmp: add handshake functions 2022-07-16 15:18:04 +02:00
aler9
772c5b2363 rtmp: improve tests 2022-07-16 12:42:48 +02:00
aler9
ea13509411 print log to stdout instead of stderr (#1042) 2022-07-16 12:14:59 +02:00
aler9
2a0567ab4a rtmp: improve tests 2022-07-14 21:49:18 +02:00
aler9
67e8a01d56 rtmp: split net.Conn from rtmp.Conn 2022-07-09 17:25:33 +02:00
aler9
bf1f45df32 rtmp: add conn handshake tests 2022-07-09 16:19:49 +02:00
aler9
a19f45f736 rtmp: fix s1 generation 2022-07-09 15:00:47 +02:00
aler9
8e14dff6d0 rtmp: fix tests 2022-07-09 14:04:51 +02:00
aler9
4c2a4f9642 hls muxer: create only 7 initial gaps (#999)
instead of filling the entire segment list.
2022-07-05 23:52:11 +02:00
aler9
f28540b9f4 update gortsplib 2022-07-05 23:46:32 +02:00
aler9
e771f9eba0 rename file 2022-07-02 22:11:26 +02:00
aler9
45c1370145 rtmp: normalize API 2022-06-27 17:52:20 +02:00
aler9
08ddc9f83d update gortsplib 2022-06-27 17:52:20 +02:00
aler9
fb5aa7bbf2 fix bug that caused on-demand commands to be closed after 10secs (#1000) 2022-06-24 18:04:45 +02:00
aler9
19e38930bd hls muxer: compensate latency by using maxLiveSyncPlaybackRate (#972) 2022-06-24 17:34:26 +02:00
aler9
41b08c9f50 update gortsplib 2022-06-24 17:00:28 +02:00
aler9
ec4c40b222 update gortsplib 2022-06-23 13:54:48 +02:00
aler9
e45820b2c0 hls server: show real client IPs when behind a proxy (#955) 2022-06-21 13:54:19 +02:00
aler9
3e5f62156d fix DTS error in case of H264 NALUs without POC 2022-06-15 10:50:59 +02:00
aler9
06b09efa91 rtmp: add tests 2022-06-11 00:31:43 +02:00
aler9
58cbd072c8 rtmp: support ping requests 2022-06-11 00:31:05 +02:00
aler9
05bac43177 rtmp: fix compatibility with some dji drones (#928) 2022-06-11 00:19:06 +02:00
aler9
2601ca5661 rtmp: implement acknowledge mechanism 2022-06-08 20:47:36 +02:00
aler9
ee2908081e rtmp: make chunk writes atomic 2022-06-08 14:07:30 +02:00
aler9
cb610a707c hls muxer: fix code 500 when a stream is not found 2022-06-08 00:39:34 +02:00
aler9
d0781e5e4a rtmp: add DTS field to video / audio messages 2022-06-07 23:13:31 +02:00
aler9
d3797d3139 rtmp: improve video / audio messages 2022-06-07 22:48:10 +02:00
aler9
7abb85ab20 rtmp: improve tests 2022-06-07 21:12:58 +02:00
aler9
cd19332350 rtmp: use bufio reader during handshake 2022-06-07 20:00:24 +02:00
aler9
eb09c7c965 rtmp: improve handshake 2022-06-06 14:24:59 +02:00
aler9
af3e5c9183 rtmp: improve handshake 2022-06-06 00:07:24 +02:00
aler9
6a24c82589 rtmp: add user control messages 2022-06-05 22:44:55 +02:00
aler9
9d3fd3bc37 update gortsplib 2022-06-05 01:36:29 +02:00
aler9
ba83ef65d2 rtmp: add message reader / writer 2022-06-05 01:06:40 +02:00
aler9
76e47686b2 rtmp: rename Message into RawMessage 2022-06-04 22:17:50 +02:00
aler9
750743d1ed move mp4 writer into dedicated folder 2022-06-04 16:51:57 +02:00
aler9
cd93b70612 hls muxer: do not use EXT-X-GAP with fmp4 variant 2022-06-03 13:34:11 +02:00
aler9
2cd71785f4 hls muxer: cache init.mp4 content 2022-06-03 13:29:26 +02:00
aler9
9bd8b2cfb6 rtmp server, hls muxer: fix DTS in case of B-frames and remove PTS-DTS offset 2022-06-03 11:31:39 +02:00
aler9
4073013f68 hls muxer: stop normalizing PTS 2022-06-02 22:37:46 +02:00
aler9
acd788d632 update gortsplib 2022-06-02 20:58:48 +02:00
aler9
73a9444c8d hls muxer: remove useless pps storage 2022-06-02 13:40:30 +02:00