Rewrite FLV/RTMP clients

This commit is contained in:
Alexey Khit
2023-08-16 19:35:13 +03:00
parent 4e1a0e1ab9
commit c3ba8db660
9 changed files with 227 additions and 204 deletions
+2
View File
@@ -79,6 +79,8 @@ func (c *Client) Start() error {
}
c.receiver.WriteRTP(pkt)
//log.Printf("[mjpeg] ts=%d size=%d", pkt.Header.Timestamp, len(pkt.Payload))
buf = buf[i:]
}
}