This commit is contained in:
hkmadao 2025-01-10 19:55:32 +08:00 committed by GitHub
commit 36dbaada7b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -955,10 +955,6 @@ func (self *Conn) writeAMF0Msg(msgtypeid uint8, csid, msgsid uint32, args ...int
func (self *Conn) fillChunk3Header(b []byte, csid uint32, timestamp uint32) (n int) { func (self *Conn) fillChunk3Header(b []byte, csid uint32, timestamp uint32) (n int) {
b[n] = (byte(csid) & 0x3f) | 0xC0 b[n] = (byte(csid) & 0x3f) | 0xC0
n++ n++
if timestamp >= 0xffffff {
pio.PutU32BE(b[n:], timestamp)
n += 4
}
return return
} }