You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just set up go2rtc as a Home Assistant add-on rather than just using the component because pyunifiprotect intentionally ignores the hostname on the SSL cert in the RTSPS stream meaning I get the no IP in SANs error - which is fine, and expected.
As a result, I've added the cameras to the go2rtc.yaml file as below:
However, when I try and open the stream from go2rtc through the RTSP link on go2rtc:1994 in VLC or the stream link in the browser, I get a slice bounds out of range error then the add-on crashes. I've provided 2 examples to show there's not one specific range that causes issues - seems to be random.
panic: runtime error: slice bounds out of range [4406:519]
goroutine 529 [running]:
github.com/AlexxIT/go2rtc/pkg/aac.RTPDepay.func1.1(0xc00024a310)
github.com/AlexxIT/go2rtc/pkg/aac/rtp.go:22 +0x132
github.com/AlexxIT/go2rtc/pkg/streamer.(*Track).WriteRTP(0xc000298e70, 0xc000298cc0?)
github.com/AlexxIT/go2rtc/pkg/streamer/track.go:42 +0xa2
github.com/AlexxIT/go2rtc/pkg/rtsp.(*Conn).Handle(0xc00027e0f0)
github.com/AlexxIT/go2rtc/pkg/rtsp/conn.go:792 +0x6b5
github.com/AlexxIT/go2rtc/pkg/rtsp.(*Conn).Start(0xc00027e0f0?)
github.com/AlexxIT/go2rtc/pkg/rtsp/streamer.go:47 +0x94
github.com/AlexxIT/go2rtc/cmd/streams.(*Producer).worker(0xc00021a240, {0xc95a40?, 0xc00027e0f0?}, 0x3)
github.com/AlexxIT/go2rtc/cmd/streams/producer.go:123 +0x35
created by github.com/AlexxIT/go2rtc/cmd/streams.(*Producer).start
github.com/AlexxIT/go2rtc/cmd/streams/producer.go:119 +0x1be
panic: runtime error: slice bounds out of range [4281:519]
goroutine 96 [running]:
github.com/AlexxIT/go2rtc/pkg/aac.RTPDepay.func1.1(0xc000250460)
github.com/AlexxIT/go2rtc/pkg/aac/rtp.go:22 +0x132
github.com/AlexxIT/go2rtc/pkg/streamer.(*Track).WriteRTP(0xc000116420, 0xc000298090?)
github.com/AlexxIT/go2rtc/pkg/streamer/track.go:42 +0xa2
github.com/AlexxIT/go2rtc/pkg/rtsp.(*Conn).Handle(0xc0000940f0)
github.com/AlexxIT/go2rtc/pkg/rtsp/conn.go:792 +0x6b5
github.com/AlexxIT/go2rtc/pkg/rtsp.(*Conn).Start(0xc0000940f0?)
github.com/AlexxIT/go2rtc/pkg/rtsp/streamer.go:47 +0x94
github.com/AlexxIT/go2rtc/cmd/streams.(*Producer).worker(0xc0002182d0, {0xc95a40?, 0xc0000940f0?}, 0x1)
github.com/AlexxIT/go2rtc/cmd/streams/producer.go:123 +0x35
created by github.com/AlexxIT/go2rtc/cmd/streams.(*Producer).start
github.com/AlexxIT/go2rtc/cmd/streams/producer.go:119 +0x1be
Let me know if you need anything else!
The text was updated successfully, but these errors were encountered:
Hey there,
Just set up go2rtc as a Home Assistant add-on rather than just using the component because pyunifiprotect intentionally ignores the hostname on the SSL cert in the RTSPS stream meaning I get the
no IP in SANs
error - which is fine, and expected.As a result, I've added the cameras to the
go2rtc.yaml
file as below:However, when I try and open the stream from go2rtc through the RTSP link on
go2rtc:1994
in VLC or the stream link in the browser, I get aslice bounds out of range error
then the add-on crashes. I've provided 2 examples to show there's not one specific range that causes issues - seems to be random.Let me know if you need anything else!
The text was updated successfully, but these errors were encountered: