-
Notifications
You must be signed in to change notification settings - Fork 944
Description
panic: runtime error: index out of range [15] with length 15
goroutine 660 [running]:
github.com/AlexxIT/go2rtc/pkg/rtmp.encodeFLV({0xc0001aa010?, 0xc000a08008?, 0x0?}, 0x8?, 0x1000?, {0x0?, 0x2000005?, 0xc000659620?})
github.com/AlexxIT/go2rtc/pkg/rtmp/flv.go:58 +0x98
github.com/AlexxIT/go2rtc/pkg/rtmp.(*Conn).Read(0xc00013a000, {0xc0001aa010, 0xf, 0xf})
github.com/AlexxIT/go2rtc/pkg/rtmp/flv.go:42 +0x1cb
github.com/AlexxIT/go2rtc/pkg/core.(*ReadBuffer).Read(0xde000?, {0xc0001aa010?, 0xc0006596c8?, 0x47dd09?})
github.com/AlexxIT/go2rtc/pkg/core/readbuffer.go:42 +0x239
io.ReadAtLeast({0x10218e0, 0xc00025c280}, {0xc0001aa010, 0xf, 0xf}, 0xf)
io/io.go:335 +0x8e
io.ReadFull(...)
io/io.go:354
github.com/AlexxIT/go2rtc/pkg/flv.(*Producer).readPacket(0xc000216200)
github.com/AlexxIT/go2rtc/pkg/flv/producer.go:277 +0x56
github.com/AlexxIT/go2rtc/pkg/flv.(*Producer).Start(0xc000216200)
github.com/AlexxIT/go2rtc/pkg/flv/producer.go:79 +0x25
github.com/AlexxIT/go2rtc/internal/streams.(*Producer).worker(0xc0001eeab0, {0x1027db0?, 0xc000216200?}, 0x7)
github.com/AlexxIT/go2rtc/internal/streams/producer.go:161 +0x2f
created by github.com/AlexxIT/go2rtc/internal/streams.(*Producer).start in goroutine 143
github.com/AlexxIT/go2rtc/internal/streams/producer.go:157 +0x185