Commit Graph
1212 Commits
Author SHA1 Message Date
Alessandro Rosandaler9 8c2b12a314 Add native support for the raspberry pi camera (#1057) 2022-08-16 18:44:31 +02:00
aler9 101ea25448 api: add published track list to /v1/paths/list 2022-08-15 16:56:09 +02:00
aler9 cb8aec8844 print track codecs into logs 2022-08-15 16:29:40 +02:00
aler9 0db2d3eb8c rtmp: improve performance
reuse existing structs instead of allocating them during every read()
2022-08-15 16:11:23 +02:00
aler9 4f023b25e8 update gortsplib 2022-08-15 13:50:46 +02:00
aler9 69e617bc73 hls: fix multiple timestamp issues introduced by previous commits 2022-08-14 14:55:25 +02:00
aler9 f952ff25f6 remove useless append() 2022-08-14 13:14:08 +02:00
aler9 3606472e82 generate RTP packets after H264 remuxing
Previously, RTP packets coming from sources other than RTSP (that
actually are RTMP and HLS) were generated before the H264 remuxing, and
that leaded to invalid streams, expecially when sourceOnDemand is true
and the stream has invalid or dynamic SPS/PPS.
2022-08-14 13:03:04 +02:00
aler9 5ba46e6c8f update gortsplib 2022-08-14 12:50:04 +02:00
aler9 e146df9ed7 hls: move fMP4 generator into dedicated folder 2022-08-14 12:44:01 +02:00
aler9 a8822b9f15 hls muxer / source: route AAC units singularly
This aligns the HLS implementation with the rest of the server. In case
of HLS/MPEGTS, the server now generates an ADTS packet for each AU,
without grouping multiple AUs into a single ADTS packet.
2022-08-14 12:19:11 +02:00
aler9 3f0771bb31 fix variable name 2022-08-14 11:24:05 +02:00
Alessandro RosandGitHub 6a3eb81acf update golangci-lint (#1088) 2022-08-13 18:17:31 +02:00
aler9 a35cc53ba2 update gortsplib 2022-08-07 14:05:28 +02:00
aler9 af7a815f83 update gortsplib 2022-08-05 23:50:45 +02:00
aler9 2b5661c74e update readme 2022-08-05 18:16:07 +02:00
aler9 384078c352 update readme 2022-08-05 18:13:43 +02:00
aler9 092a2be3a8 api: add "created" field to RTSP sessions, RTMP connections, HLS muxers 2022-08-05 14:39:07 +02:00
aler9 055e08ac6c remove "on" prefix from most communication functions between components 2022-08-04 21:07:45 +02:00
aler9 ea528f47e1 speed up tests 2022-08-04 20:34:58 +02:00
aler9 7067c02030 api: return static sources in paths/list even if sourceOnDemand is true 2022-08-04 20:28:38 +02:00
aler9 ac0a5e9fc7 update readme 2022-08-03 09:58:26 +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 8267f4c3bb bump golang to 1.18, node to 16 2022-07-25 22:57:48 +02:00
aler9 f24700526b update gortsplib 2022-07-24 16:05:03 +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 c769088e6b improve release workflow 2022-07-23 14:21:55 +02:00
aler9 f7c08f577a rtmp: fix decoding of chunk3 + chunk3 2022-07-19 16:42:11 +02:00
Alessandro RosandGitHub 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
Farshid TavakolizadehandGitHub 505939b835 Add example for overriding array parameter with env var (#1039) 2022-07-14 16:11:37 +02:00
aler9 b6e37afed4 update issue template 2022-07-14 09:04:28 +02:00
aler9 273e28c819 update issue workflow 2022-07-14 09:02:09 +02:00
aler9 9f452a5597 add issues workflow 2022-07-13 12:05:31 +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
James AtkinsandGitHub 6bf42d857a Fix typo (#1003) 2022-06-25 20:02:34 +02:00