remove aac adts header when input
This commit is contained in:
parent
ebb5dcf9e1
commit
df0f52cf38
@ -1064,7 +1064,7 @@ func (self *Stream) handleRtpPacket(packet []byte) (err error) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
self.gotpkt = true
|
self.gotpkt = true
|
||||||
self.pkt.Data = payload[4:] // TODO: remove this hack
|
self.pkt.Data = payload[4+7:] // TODO: remove this hack
|
||||||
self.timestamp = timestamp
|
self.timestamp = timestamp
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user