Sunoo / homebridge-camera-ffmpeg

Homebridge Plugin Providing FFmpeg-based Camera Support
https://sunoo.github.io/homebridge-camera-ffmpeg/
Apache License 2.0
1.08k stars 225 forks source link

Add ONVIF support #367

Open dkrizic opened 4 years ago

dkrizic commented 4 years ago

I just found that there is an ONVIF implementation for node available. ONVIF is a generic protocol that allows the clients to request all capabilities of the camera (e.g. PTZ, audio, resolutions, URLs). The client just has to know

What is very interesting, is that ONVIF also offers notification about motion. All my cameras support ONVIF and have built-in motion detection. It would make sense to add this as (additional) feature to homebridge-camera-ffmpeg, especially for the motion detection support.

github-actions[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

dadada3000 commented 3 years ago

+1

Sunoo commented 3 years ago

I’m gonna be perfectly honest, I’m not sure full ONVIF support will ever be a part of this plugin.

I could see adding ONVIF’s two-way audio support, and ONVIF’s motion alerts could be handled by a helper plugin (such as the ones for FTP or SMTP). I’d probably need to find and acquire an ONVIF camera with those features if I were to write either of those though.

gartz commented 2 years ago

I got a camera with ONVIF that have a web interface, would you be interested if I create a small lib that standardize the protocol communication into javascript async methods.

I don't know how the two-way audio works yet, but the camera I got has it, it might take longer to understand how to stream it than creating the API to send commands to the camera.

Please let me know if you have interest to add into your project, if so, I would be happy to contribute with such.

Sunoo commented 2 years ago

@gartz I would be interested in adding that, provided the library you write suits the needs of this plugin. I still don’t have an ONVIF camera myself, so I can’t test much still.