remove aac adts header when input

This commit is contained in:
nareix 2016-07-01 19:48:36 +08:00
parent ebb5dcf9e1
commit df0f52cf38

View File

@ -1064,7 +1064,7 @@ func (self *Stream) handleRtpPacket(packet []byte) (err error) {
return
}
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
default: