Open felipecrs opened 3 months ago
Another nice use case would be to allow using any arbitrary camera from go2rtc, like cameras plugged in a different computer, in any video conferencing application like Teams or Zoom.
I too am interested in having go2rtc act as ONVIF compliant source and to expose the streams in it over ONVIF. My use case is to add a stream from go2rtc into Hikvision DVR, which allows only ONVIF IP Cameras to be added.
ONVIF server supported long time ago
ONVIF server supported long time ago
Actually if that is the case, can i achieve the following IP Cam -> Go2rtc -> Hikvision DVR
I didnt find any documentation around this.
In first place sorry for hijacking your issue, but the doc you linked is if i would like to interogate my camera from go2rtc through onvif. That is not what i want. I mean each camera in go2rtc to be able to be added to another device as onvif source for it. As pictured above: IP Cam already in go2rtc -> go2rtc exposing its stream info as onvif source -> Hikvision DVR (or any device for that matter).
Ops, sorry, wrong link. I meant this:
https://github.com/AlexxIT/go2rtc?tab=readme-ov-file#module-hass
Yes. This is not documented feature. It should be in the Module: ONVIF
section. This feature works out of box and doesn't have additional settings.
Hi, thanks for pointing to the doc.
I played around a bit, had to setup rtsp auth in go2rtc, because the dvr requires it. I changed the log level of go2rtc to debug and this is what i get:
5:20:22.026 PM | debug | [onvif] unsupported request:<?xml version="1.0" encoding="UTF-8" ?>
5:20:22.029 PM | debug | [onvif] unsupported request:<?xml version="1.0" encoding="UTF-8" ?>
@memphisdj please open a separate issue.
Done, totally fair, sorry !
Also looking for a way to use a go2rtc camera in MS Teams and other camera solutions. Any plans in the near future to get this feature in?
There are plans. But I wouldn't describe them as a near future.
Thanks for answering. I'm ok if "near future" happens in the coming months.
Windows has this feature of network cameras:
It would be amazing if Windows could recognize go2rtc as a network camera.
But that would require go2rtc to implement the ONVIF WS-Discovery protocol:
https://learn.microsoft.com/en-us/windows-hardware/drivers/stream/network-cameras#discovery
Do you think that would be possible?
My use case is very niche:
When running Microsoft Teams under Azure Virtual Desktop, it will only recognize cameras that are "physically" connected to the client computer and not virtual cameras like OBS Studio or NVIDIA Broadcast.
With go2rtc running on Windows, I can input the camera with
ffmpeg
, and then if I was able to add go2rtc back to Windows as a network camera, I would be able to use it in Teams.