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

[FEATURE REQUEST] ONVIF support? #480

Open
TheWISPRer opened this issue Sep 15, 2024 · 4 comments
Open

[FEATURE REQUEST] ONVIF support? #480

TheWISPRer opened this issue Sep 15, 2024 · 4 comments

Comments

@TheWISPRer
Copy link

I was wondering if y'all had tried adding ONVIF support so that these cameras can be added to common NVR platforms. It would allow greater flexibility and integration into larger systems using a standard protocol.

I am trying to integrate this myself, but think that this is beyond my skillset. Figured I'd go ahead and open a feature request issue JIC. Will update if I am able to succeed in this or not.

@s60sc
Copy link
Owner

s60sc commented Sep 16, 2024

could try using go2rtc to convert mjpeg/wav to onvif https://github.com/s60sc/ESP32-CAM_MJPEG2SD#stream-to-nvr

@TheWISPRer
Copy link
Author

Very interesting. Did not notice that before. The repo for go2rtc that I found (https://github.com/AlexxIT/go2rtc) does seem to support ONVIF/declare a SOAP endpoint. Handy that it's already built in.

Will give this a try this week and update with findings.

@TheWISPRer
Copy link
Author

Well, looks like that will not fit in the use case examples of this request. ONVIF is really just a discovery protocol that provides endpoint information to the main unit from the camera. It typically utilizes an RTSP stream, but ONVIF can support direct MJPEG on most clients, so would not necessarily need conversion. That go2rtc library adds a bunch of nice, but unnecessary bloat for this particular application requirement.

Attempting to add WSD and SOAP so that it is natively discoverable through ONVIF without any middleware. Will update on progress. Definitely not my typical wheelhouse, so don't hold your breath.

@rjsachse
Copy link
Contributor

rjsachse commented Oct 5, 2024

Ok so I had a quick look today. Yes might be possible. I done a quick test with ODM onvif device manager. The big issue is time incorporating all of the services and actions.. I'm working on other stuff mainly hardware. I can share what I done for a test using esp32 cam webserver. Does not currently stream as I haven't added all the functions for services and actions, but might be a starting point to help someone else out if they are willing too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants