Commit Graph

34 Commits

Author SHA1 Message Date
aler9
59391a4366 rtmp client: fix play command id 2022-08-22 10:57:29 +02:00
aler9
b06498d24b rtmp: remove useless comments from tests 2022-08-22 09:49:35 +02:00
aler9
e255d004e3 rtmp server: change value of MessageStreamID of outgoing messages 2022-08-16 18:44:31 +02:00
aler9
4990e98993 rtmp: fix reading metadata from onMetadata
when there's no audio and Conn is a client, onMetadata was skipped and
tracks were read by using the fallback method. Fix this.
2022-08-16 18:44:31 +02:00
aler9
176f2f0729 rtmp: invert flag of InitializeServer() and InitializeClient() 2022-08-16 18:44:31 +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
af7a815f83 update gortsplib 2022-08-05 23:50:45 +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
ef3e18a9e9 rtmp: add handshake functions 2022-07-16 15:18:04 +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
8e14dff6d0 rtmp: fix tests 2022-07-09 14:04:51 +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
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
d3797d3139 rtmp: improve video / audio messages 2022-06-07 22:48:10 +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
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
959b78586a rtmp: add MessageReader 2022-05-16 11:57:29 +02:00
aler9
1f6d92bc3a rtmp: add additional message types 2022-05-14 00:52:11 +02:00
aler9
896c799f99 rtmp: add MessageType, ControlChunkStreamID 2022-05-13 23:38:39 +02:00
aler9
9519bf670a rtmp: add MessageWriter 2022-05-13 20:53:52 +02:00
aler9
046a3f248d rtmp: add primitives 2022-05-13 19:04:47 +02:00
aler9
d5a1b8c8ab rtmp: cleanup tests 2022-04-18 17:04:59 +02:00
aler9
db7ee22789 rtsp source: support AAC tracks with custom sizelength, indexlength and indexdeltalength
(https://github.com/aler9/gortsplib/pull/118)
2022-04-15 13:17:00 +02:00
aler9
983469a1f9 rtmp: support clients that publish with empty metadata or no metadata (#386) (#769) 2022-02-12 17:48:55 +01:00
aler9
789a306acd add rtmp tests 2022-02-12 16:21:16 +01:00