ZoneMinder / zoneminder

ZoneMinder is a free, open source Closed-circuit television software application developed for Linux which supports IP, USB and Analog cameras.
http://www.zoneminder.com/
GNU General Public License v2.0
5.03k stars 1.21k forks source link

"Path must be set to a valid value" returned when setting an ONVIF camera #4086

Closed flixman closed 3 weeks ago

flixman commented 2 months ago

Describe Your Environment

If the issue concerns a camera

Describe the bug On the Monitors page I want to add the camera as ONVIF source. After setting the URL (http://:2020/onvif/device_service), username and password, I click save and I get the error:

Path must be set to a valid value
Width must be set to a valid value
Height must be set to a valid value

Expected behavior The camera gets added and I can PTZ it.

Debug Logs I have not found any, all happens in the browser and there is no message in the console. The error gets triggered in line 78 of /usr/share/zoneminder/www/skins/classic/views/js/monitor.js.php, as the camera type is ffmpeg.

welcome[bot] commented 2 months ago

Thanks for opening your first issue here! Just a reminder, this forum is for Bug Reports only. Be sure to follow the issue template!

connortechnology commented 2 months ago

You havn't set the stream path. This is different from the onvif path. Check the Source tab.