Path to embedded stream wrong?

Forum for questions and support relating to the 1.30.x releases only.
Locked
fengels
Posts: 2
Joined: Wed Oct 18, 2017 4:23 pm

Path to embedded stream wrong?

Post by fengels »

Hi,
When I try to monitor a camera I do not get the camera view.
When I look at the source code of the page that is showing no images I see the following part of code.

Code: Select all

</div>
	</div>
	</div>
	<div id="imageFeed">
	<img id="liveStream" src="/cgi-bin/nph-zms?mode=jpeg&amp;scale=100&amp;maxfps=30&amp;buffer=1000&amp;monitor=10&amp;auth=b5b559115cae132d12959ee558719fe6&amp;connkey=141909&amp;rand=1508259429" alt="DeurRechts M" width="640" height="480"/> </div>

	<div id="monitorStatus">
	<div id="enableDisableAlarms"><a id="enableAlarmsLink" href="#" onclick="cmdEnableAlarms(); return( false );" class="hidden">Enable Alarms</a><a id="disableAlarmsLink" href="#" onclick="cmdDisableAlarms(); return( false );" 

When I click on the link above in my browser (in 5th line above):

Code: Select all

/cgi-bin/nph-zms?mode=jpeg&amp;scale=100&amp;maxfps=30&amp;buffer=1000&amp;monitor=10&amp;auth=b5b559115cae132d12959ee558719fe6&amp;connkey=141909&amp;rand=1508259429
A new tab is opened with the following link in the URL field:

Code: Select all

http://192.168.x.x/cgi-bin/nph-zms?mode=jpeg&scale=100&maxfps=30&buffer=1000&monitor=10&auth=b5b559115cae132d12959ee558719fe6&connkey=141909&rand=1508259429
 
and tell me:

Not Found
The requested URL /cgi-bin/nph-zms was not found on this server.
Apache/2.4.18 (Ubuntu) Server at 192.168.x.xx Port 80.


When I add “zm” behind the IP number like this

http://192.168.x.xx/zm/cgi-bin/nph-zms?mode=jpeg&scale=100&maxfps=30&buffer=1000&monitor=10&auth=b5b559115cae132d12959ee558719fe6&connkey=141909&rand=1508259429

I will get the correct stream.

So probably there is something wrong with my settings so that I miss the ZM folder in the path.
Does anyone know where I can correct this, because I have no idea?
rockedge
Posts: 1173
Joined: Fri Apr 04, 2014 1:46 pm
Location: Connecticut,USA

Re: Path to embedded stream wrong?

Post by rockedge »

Options->Paths->PATH_ZMS
make the path /zm/cgi-bin/nph-zms
fengels
Posts: 2
Joined: Wed Oct 18, 2017 4:23 pm

Re: Path to embedded stream wrong?

Post by fengels »

Thanks allot rockegde, it is now working.
Locked