maciej-or / hikvision_next

Home Assistant integration for Hikvision NVRs and IP cameras
115 stars 23 forks source link

HA 2024.11 - No stream from Hikvision cameras connected through NVR #243

Closed joncrangle closed 1 week ago

joncrangle commented 2 weeks ago

Since the HA 2024.11 update that added native WebRTC through go2rtc, I can only get a still image from my camera feeds. I'm no longer getting stream video.

joncrangle commented 2 weeks ago

I see there are a number of issues related to this in the home assistant core github so could be an upstream issue.

maciej-or commented 2 weeks ago

I'm on 2024.11.1 and go2rtc 1.9.4 everything works fine. Maybe you will sth in go2rtc log?

joncrangle commented 1 week ago

Thanks for confirming. I think this is an upstream issue with go2rtc, so I'm closing this issue here. I've been able to get diminished quality camera feeds in HA by reducing the Hikvision cameras' resolution and frame rate in the meantime.

Logger: homeassistant.components.go2rtc.server
Source: components/go2rtc/server.py:151
integration: go2rtc (documentation, issues)
First occurred: 6:42:02 PM (16 occurrences)
Last logged: 6:43:13 PM

18:43:07.469 WRN [rtsp] error="streams: codecs not matched: H264 => ANY" stream=camera.doorstation_1ccae375b1e9_live_orginal
18:43:09.313 WRN [rtsp] error="streams: codecs not matched: H264 => ANY" stream=camera.doorstation_1ccae375b1e9_live_orginal
18:43:10.395 WRN [rtsp] error="streams: codecs not matched: H264 => ANY" stream=camera.doorstation_1ccae375b1e9_live_orginal
18:43:12.233 WRN [rtsp] error="streams: codecs not matched: H264 => ANY" stream=camera.doorstation_1ccae375b1e9_live_orginal
18:43:13.900 WRN [rtsp] error="streams: codecs not matched: H264 => ANY" stream=camera.doorstation_1ccae375b1e9_live_orginal