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

Unknown host + tlv8: unmarshal zero #1537

Open
evrelse12 opened this issue Jan 4, 2025 · 1 comment
Open

Unknown host + tlv8: unmarshal zero #1537

evrelse12 opened this issue Jan 4, 2025 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@evrelse12
Copy link

evrelse12 commented Jan 4, 2025

Hi!

Have installed frigate 0.15b4 with external go2rtc 1.9.8 and ffmpeg 7.0 in /usr/lib/ffmpeg/7.0/bin/ffmpeg
frigate work as docker compose, network_mode: host, required ports opened
go2rtc config:

streams:
  front:
  - rtsp://admin:[email protected]/live
  - ffmpeg:dahua1#audio=opus
  birdseye: exec:/usr/lib/ffmpeg/7.0/bin/ffmpeg -hide_banner -f rawvideo -pix_fmt
    yuv420p -video_size 1280x720 -r 10 -i /tmp/cache/birdseye -c:v h264_qsv -g 50
    -bf 0 -profile:v high -level:v 4.1 -async_depth:v 1 -rtsp_transport tcp -f rtsp
    {output}
homekit:
  birdseye:                    # same stream ID from streams list
    pin: 19550224           # custom PIN, default: 19550224
    name: Birdseye         # custom camera name, default: generated from stream ID
    device_id: birdseye        # custom ID, default: generated from stream ID
    device_private: birdseye   # custom key, default: generated from stream ID
  front:                    # same stream ID from streams list
    pin: 19550224           # custom PIN, default: 19550224
    name: FrontYard         # custom camera name, default: generated from stream ID
    device_id: front        # custom ID, default: generated from stream ID
    device_private: front   # custom key, default: generated from stream ID

api:
  origin: '*'
hass:
  config: /config
log:
  format: text
webrtc:
  candidates:
  - stun:8555
rtsp:
  default_query: mp4
ffmpeg:
  bin: /usr/lib/ffmpeg/7.0/bin/ffmpeg

Good news:
Two streams appears on the Streams page. Both have worked preview by link "stream".
Both streams has loaded on Add -> Apple HomeKit page.
Bad news:
When I start to pair any of stream, have got message

192.168.1.61:1984 says
ERROR: tlv8: unmarshal zero data

in logs:

6:49:57.914 PM info go2rtc version=1.9.8 platform=linux/amd64 revision=199fdd6
6:49:57.915 PM info config path=/dev/shm/go2rtc.yaml
6:49:57.915 PM info [rtsp] listen addr=:8554
6:49:57.915 PM info [api] listen addr=:1984
6:49:57.915 PM info [webrtc] listen addr=:8555/tcp
6:51:03.091 PM error [homekit] unknown host: 192.168.1.61:1984
6:51:03.092 PM error undefined error=tlv8: unmarshal zero data caller=github.com/AlexxIT/go2rtc/internal/homekit/api.go:52
7:03:42.271 PM error [homekit] unknown host: 192.168.1.61:1984
7:03:42.271 PM error undefined error=tlv8: unmarshal zero data caller=github.com/AlexxIT/go2rtc/internal/homekit/api.go:52

Looks like go2rtc (same as frigate) host 192.168.1.61 unreachible by HomeKit.
May be you have any ideas how to solve problem?

@evrelse12
Copy link
Author

Made next tests:
Frigate 0.14.1 (current) + go2rtc 1.9.2 (in distr) = the same result
Frigate 0.14.1 + go2rtc 1.9.6 = the same result
Frigate 0.14.1 + go2rtc 1.9.7 = the same result
Frigate 0.14.1 + go2rtc 1.9.8 = the same result
Frigate 0.15b4 + go2rtc 1.9.8 = the same result, as topic above

@AlexxIT AlexxIT added the bug Something isn't working label Jan 7, 2025
@AlexxIT AlexxIT self-assigned this Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants