From df0f52cf38a45d842291bb72e1adc24de397d1dd Mon Sep 17 00:00:00 2001 From: nareix Date: Fri, 1 Jul 2016 19:48:36 +0800 Subject: [PATCH] remove aac adts header when input --- client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.go b/client.go index 0864b3f..35dd43e 100644 --- a/client.go +++ b/client.go @@ -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: