Skip to content

Vatilon H44 IP camera cannot connect with DVRIP #2198

@ThatStella7922

Description

@ThatStella7922

I have an IP camera from "SIMICAM" which uses a Vatilon H44 IPC module inside. It supports Sofia/XMEye, RTSP, and ONVIF (barely, but you can get working RTSP stream URLs).

And I am running go2rtc 1.9.14 on my windows x64 computer for testing.

Testing

VMS and XM phone app

I can add it to the VMS and view it here:
XMEye VMS screenshot

It also works with XMEye and ICSee phone app:
XMEye phone screenshot

If I use the phone app, I can do two-way-talk from the camera and it works well.

RTSP

First of all, I CAN connect via RTSP to this camera:

pergola_southeast:
      - rtsp://admin:123456@192.168.69.71:554/stream1
pergola_southeast_sub:
      - rtsp://admin:123456@192.168.69.71:554/stream0

and it works okay, sometimes MSE has an issue but I blame that on the crappy encoder inside the camera.

However, RTSP does not offer two-way-talk for this camera. So then I searched in this repository and found the issue #633 where the DVRIP source for Sophia/XM cameras had been updated to support this function.

DVRIP sophia

According to documentation for dvrip, I set up the stream and used my credentials and ports from the VMS.

pergola_southeast_xmtest:
    - dvrip://admin:123456@192.168.69.71:34567?channel=0&subtype=0

The credentials in the VMS, they work fine and I can see/hear/talk:
Camera configuration in VMS

Now when I start go2rtc, it shows up in the webui but when I click probe, I get this text:

streams: unexpected end of JSON input

In the log this appears:

15:14:26.566 TRC [api] GET /api/streams?src=pergola_southeast_xmtest&video=all&audio=all&microphone [::1]:51726
15:14:26.567 TRC [streams] check cons=0 media=audio, sendonly, ALL
15:14:26.577 TRC [streams] dial cons=0 prod=0 error="unexpected end of JSON input"
15:14:26.578 TRC [streams] check cons=0 media=video, sendonly, ALL
15:14:26.578 TRC [streams] skip cons=0 prod=0
15:14:26.578 TRC [streams] check cons=0 media=audio, recvonly, ANY
15:14:26.579 TRC [streams] skip cons=0 prod=0
15:14:26.579 TRC [streams] skip stop none producer

I have tried rebooting the camera, making new admin accounts, trying different passwords but nothing makes it work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions