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
@@ -17,7 +17,7 @@ func NewServer(conn net.Conn) (*Conn, error) {
rd: bufio.NewReaderSize(conn, core.BufferSize),
wr: conn,
chunks: map[uint8]*header{},
chunks: map[uint8]*chunk{},
rdPacketSize: 128,
wrPacketSize: 4096,