While using the [email protected] library, I encountered the following panic error.
panic: runtime error: index out of range [2] with length 2
goroutine 63 [running]:
github.com/deepch/vdk/format/rtspv2.(*RTSPClient).RTPDemuxer(0x4001114200, 0x400069c040?)
/go/pkg/mod/github.com/deepch/[email protected]/format/rtspv2/client.go:695 +0x17c8
github.com/deepch/vdk/format/rtspv2.(*RTSPClient).startStream(0x4001114200)
/go/pkg/mod/github.com/deepch/[email protected]/format/rtspv2/client.go:314 +0x408
created by github.com/deepch/vdk/format/rtspv2.Dial in goroutine 58
/go/pkg/mod/github.com/deepch/[email protected]/format/rtspv2/client.go:243 +0x14c8
rtspv2/client.go 695
naluTypefs := packet[2] & 0x1f
Is it a solved problem in the latest version? or nedd to fix this bug?