Skip to content

How to configure go2rtc as a ONVIF _server_? #1036

@theschles

Description

@theschles

Hi all,

Using go2rtc 1.8.5 as port 1984 on a docker instance running on a Raspberry Pi 3. go2rtc works great with RTSP and HTTP streaming to tablets and to Home Assistant clients on my LAN (single subnet).

I’m now trying to get the Roku IP Camera Viewer Basic version to display a camera feed on my TV. As it requires a MJPEG-encoded feed, I configured the settings in the Roku camera app as:

IP: <IP of Raspberry Pi>
Port: 1984
URL: /stream.html?src=my_camera_instance&mode=mjpeg

Doesn’t work.

I also tried just:

IP: <IP of Raspberry Pi>
Port: 1984
URL: /stream.html?src=my_camera_instance

Again, nada nada.

That’s when I learned about ONVIF. If I’m RTFM’ing correctly, if the go2rtc server instance advertised as a ONVIF server (or at least had the right port open), the camera feeds on my go2rtc would be discoverable by the Roku camera app.

Right now, however, when I tell the Roku camera app to scan my network for ONVIF instances, it doesn’t detect anything.

Help?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions