Skip to content

panic Error [email protected] in Client.RTPDemuxer naluTypefs := packet[2] & 0x1f #114

@ljhljh127

Description

@ljhljh127

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions