Fix timestamps for RTMP client

This commit is contained in:
Alex X
2024-05-26 00:18:56 +03:00
parent 8bae4631d2
commit 0ccfcb0ec0
4 changed files with 75 additions and 62 deletions
+1 -1
View File
@@ -65,7 +65,7 @@ func NewClient(conn net.Conn, u *url.URL) (*Conn, error) {
rd: bufio.NewReaderSize(conn, core.BufferSize),
wr: conn,
chunks: map[uint8]*header{},
chunks: map[uint8]*chunk{},
rdPacketSize: 128,
wrPacketSize: 4096, // OBS - 4096, Reolink - 4096