Commit Graph

25 Commits

Author SHA1 Message Date
aler9
27ae0b9812 rtmp client: validate command ID of results 2022-08-22 11:20:23 +02:00
aler9
59391a4366 rtmp client: fix play command id 2022-08-22 10:57:29 +02:00
aler9
d4945ab7bc rtmp: cleanup 2022-08-22 10:55:06 +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
a19a20abfb rtmp: set right command ID when replying to a play request 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
822a896a82 rtmp: fix rtmp -> rtsp audio conversion 2022-07-17 09:54:16 +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
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
d3797d3139 rtmp: improve video / audio messages 2022-06-07 22:48:10 +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
a34a01ebd9 RTMP client/source: support dynamic H264 SPS/PPS 2022-04-08 18:19:53 +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
2bfdcc7d89 update gortsplib 2022-01-30 17:43:03 +01:00
aler9
811540b34b tidy up rtmp 2021-12-22 17:37:15 +01:00
aler9
1dff3239d2 remove rtmp.Conn.NetConn() 2021-12-22 17:33:37 +01:00
aler9
99a07c0d33 rtmp client: speed up acceptance of clients by moving handshake inside client routine 2021-04-03 12:08:07 +02:00
aler9
897322e3a6 rename rtmputils into rtmp 2021-04-03 11:39:19 +02:00