From be73d07f24f381c125da462cd9263646b11dfe7b Mon Sep 17 00:00:00 2001 From: nareix Date: Sun, 12 Jun 2016 22:41:34 +0800 Subject: [PATCH] skip naluType==6 --- client.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client.go b/client.go index 7b98380..6b68d01 100644 --- a/client.go +++ b/client.go @@ -578,6 +578,9 @@ func (self *Stream) handlePacket(timestamp uint32, packet []byte) (err error) { */ switch { + case naluType == 6: + // skip naluType == 6 + case naluType >= 1 && naluType <= 23: if err = self.handleH264Payload(naluType, timestamp, packet); err != nil { return