Commit Graph

14 Commits

Author SHA1 Message Date
Alessandro Ros
053f2ec282
rename repository and executable (#1641) 2023-04-01 19:52:06 +02:00
Alessandro Ros
c79c3c83cb
rtmp server: improve efficiency of outgoing packets (#1395)
group together messages by using a buffered writer between the network
connection and the WriteMessage() function
2023-01-19 13:27:54 +01:00
Alessandro Ros
8bee4af86a
api, metrics: add number of bytes received and sent from/to all entities (#1235)
* API: number of bytes received/sent from/to RTSP connections
* API: number of bytes received/sent from/to RTSP sessions
* API: number of bytes received/sent from/to RTMP connections
* API: number of bytes sent to HLS connections
* API: number of bytes received from paths
* metrics of all the above
2022-11-11 11:59:52 +01:00
aler9
f1fb00b80f update golangci-lint 2022-09-17 21:19:45 +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
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
772c5b2363 rtmp: improve tests 2022-07-16 12:42:48 +02:00
aler9
45c1370145 rtmp: normalize API 2022-06-27 17:52:20 +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
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
ba83ef65d2 rtmp: add message reader / writer 2022-06-05 01:06:40 +02:00