Commit Graph

10 Commits

Author SHA1 Message Date
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