Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

panic Error vdk@v0.027 in Client.RTPDemuxer naluTypefs := packet[2] & 0x1f #114

Open
ljhljh127 opened this issue Jan 20, 2025 · 0 comments

Comments

@ljhljh127
Copy link

While using the vdk@0.0.27 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/vdk@v0.0.27/format/rtspv2/client.go:695 +0x17c8
github.com/deepch/vdk/format/rtspv2.(*RTSPClient).startStream(0x4001114200)
/go/pkg/mod/github.com/deepch/vdk@v0.0.27/format/rtspv2/client.go:314 +0x408
created by github.com/deepch/vdk/format/rtspv2.Dial in goroutine 58
/go/pkg/mod/github.com/deepch/vdk@v0.0.27/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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant