Multiple ONVIF Cams vs. Port Forwarding/PTZ?

Thai

n3wb
Joined
Sep 20, 2016
Messages
9
Reaction score
0
I recently bought 2 of these IZTouch IZSP-012 cameras off Amazon. Got them on my network as follows:

Cam 1:
Internal IP: 192.168.0.39
Port: 5000
RTSP: 554

Cam 2:
Internal IP: 192.168.0.43
Port: 5000
RTSP: 555

The problem is when I have my port forwarding going to 555 for Cam 2, it fails to get a stream. The only way I can get a stream to work is if I forward port 555 to 554 and miraculously it gets the proper Cam 2 video stream. The problem now is that when I go to use PTZ, it's controlling Cam 1 and not Cam 2 - I suspect because it's using the 554 port.

How can I properly set this up to view and control each camera independently?

Thank you.
 

nayr

IPCT Contributor
Joined
Jul 16, 2014
Messages
9,329
Reaction score
5,325
Location
Denver, CO
its not controlling the PTZ over RTSP/554.. tha'd be the 5k port.

the proper way is use a VPN Server and dont forward ports.
 

Thai

n3wb
Joined
Sep 20, 2016
Messages
9
Reaction score
0
Okay I don't think a VPN is going to fit my situation. So is there a way to change the port on one of the camera from 5000 to 5001?

This is the camera:
https://www.amazon.ca/gp/product/B01916X4TC/ref=oh_aui_detailpage_o00_s00?ie=UTF8&psc=1

ONVIF Device Manager info (I added in the * for privacy):

Name: IPCamera
Location: Country/China
Manufacturer: Technology
Model: IPC
Hardware: Ver 2.1
Firmware: 14.00.00.52
Device ID: ******
IP address: 192.168.0.43
MAC address: **-**-**-**-**-**
ONVIF version: unknown
URI: http://192.168.0.43:5000/


In Network settings, if I attempt to change the http port from disable to enable and enter in 5001 and apply, I get the error: "Method 'SetNetworkProtocols' not implemented: method name or namespace not recognized".

I believe I just need to change this 5000 port to 5001 and I'll be able to control 2 cameras on the same network.
 

alastairstevenson

Staff member
Joined
Oct 28, 2014
Messages
15,966
Reaction score
6,795
Location
Scotland
The port 5000 in the URI above is the 'ONVIF port' over which the ONVIF dialogues are conducted, not the HTTP port.
If the HTTP port is disabled, and an attempt to enable it over ONVIF fails, it seem the manufacturer has blocked off one of the standard ways of interacting with and configuring the camera.
 

Thai

n3wb
Joined
Sep 20, 2016
Messages
9
Reaction score
0
The port 5000 in the URI above is the 'ONVIF port' over which the ONVIF dialogues are conducted, not the HTTP port.
If the HTTP port is disabled, and an attempt to enable it over ONVIF fails, it seem the manufacturer has blocked off one of the standard ways of interacting with and configuring the camera.
Hmmmm.... I have my router port forwarding 5000 public to 5000 internal to the IP cams. Guess that's incorrect?
 

Thai

n3wb
Joined
Sep 20, 2016
Messages
9
Reaction score
0
Not if you're talking ONVIF to the camera.
Okay I tried disabling port 5000 forwarding and the video works but I can no longer control PTZ (to the one camera).

So port 5000 forwarding is needed.

So my problem remains then, both cameras rely on port 5000 for PTZ controls. And it'll only catch and control one from outside. My old Foscams never gave me such a hard time. It was just a simple one port forward and that was it. PTZ and all. Ugh.
 

Thai

n3wb
Joined
Sep 20, 2016
Messages
9
Reaction score
0
Cam 1:
Internal IP: 192.168.0.39
ONVIF Port: 5000
RTSP: 554
Router Port Forwarding 5000 external to 5000 internal

Cam 2:
Internal IP: 192.168.0.43
ONVIF Port: 5000
RTSP: 555
Router Port Forwarding 5001 external to 5000 internal



Using ONVIFER for Android, after entering the above credentials, when I go to control Cam 2 (with the 5001->5000 forwarding) I end up controlling Cam 1 (with the 5000->5000 forwarding).

I can control Cam 1 when viewing Cam 1 perfectly fine.

So each camera needs it's own unique ONVIF control port, and I can't seem to change in the camera settings anywhere, or is there another creative workaround?

Thanks.
 

Thai

n3wb
Joined
Sep 20, 2016
Messages
9
Reaction score
0
Or what App can I use to try and change this camera's ONVIF port from the default 5000?
 

nayr

IPCT Contributor
Joined
Jul 16, 2014
Messages
9,329
Reaction score
5,325
Location
Denver, CO
I suspect the problem is your app wont let you use an ONVIF port other than 5000..

again, VPN is the solution.. it will fix this problem and then more.. you need to run a VPN Server on your Router or somewhere else on your network.. then you'll connect to each camera's individual local IP
 

Thai

n3wb
Joined
Sep 20, 2016
Messages
9
Reaction score
0
what do you get if you go to the URLs below? from a offsite Internet connection?

http://{public ip address}:5000/

http://{public ip address}:5001/
I get the same XML info for both links:

<SOAP-ENV:Fault xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsdd="http://schemas.xmlsoap.org/ws/2005/04/discovery"xmlns:chan="http://schemas.microsoft.com/ws/2005/02/duplex" xmlns:wsa5="http://www.w3.org/2005/08/addressing" xmlns:xmime="http://tempuri.org/xmime.xsd" xmlns:xop="http://www.w3.org/2004/08/xop/include"xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:wsrfbf="http://docs.oasis-open.org/wsrf/bf-2" xmlns:wstop="http://docs.oasis-open.org/wsn/t-1" xmlns:wsrfr="http://docs.oasis-open.org/wsrf/r-2"xmlns:tdn="http://www.onvif.org/ver10/network/wsdl" xmlns:tds="http://www.onvif.org/ver10/device/wsdl" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2"xmlns:tptz="http://www.onvif.org/ver20/ptz/wsdl" xmlns:trt="http://www.onvif.org/ver10/media/wsdl">
<faultcode>SOAP-ENV:Client</faultcode>
<faultstring>HTTP GET method not implemented</faultstring>

</SOAP-ENV:Fault>



I get to view Cam 1 (5000) and Cam 2 (5001) fine. But can only control Cam 1. And if I try to control Cam 2, it ends up controlling Cam 1.
 
Last edited by a moderator:

copex

Getting the hang of it
Joined
Feb 15, 2015
Messages
225
Reaction score
79
Location
Cumbria,England
I get the same XML info for both links:
edit...
I get to view Cam 1 (5000) and Cam 2 (5001) fine. But can only control Cam 1. And if I try to control Cam 2, it ends up controlling Cam 1.
Ok, can you view the cameras local using http://{LOCAL IP}:5000 ? and the mobile app works localy? the issue is only remote viewing?

check if the cameras support upnp and disable it :) and or disable it on the router

if you can get the cameras to work correctly on the local network as already suggested a VPN may be the best option.

or get a mini NVR with onvif support connect the cameras and access them via the NVR

or contact the supplier to see if they can get an answer from the manufacturer,
 

Thai

n3wb
Joined
Sep 20, 2016
Messages
9
Reaction score
0
Ok, can you view the cameras local using http://{LOCAL IP}:5000 ? and the mobile app works localy? the issue is only remote viewing?

check if the cameras support upnp and disable it :) and or disable it on the router

if you can get the cameras to work correctly on the local network as already suggested a VPN may be the best option.

or get a mini NVR with onvif support connect the cameras and access them via the NVR
The app for this camera is:
https://play.google.com/store/apps/details?id=com.xapcamera.iztouch&hl=en

Internal and externally, the app works fine. I can view and control both cameras. But this app only works with those 2 cameras.

I want to instead use ONVIFER because I have another jpeg cam on my network that I can view with it:
https://play.google.com/store/apps/details?id=net.biyee.onvifer&hl=en

ONVIFER can view all cameras but can only control Cam 1 (port 5000).

There is no browser viewing for these cams. Only with the apps.

For NVR, I'm currently using iSpyConnect and it doesn't have a proper profile for this camera. Using the generic ONVIF profile, I'm able to view and not control any cameras, unfortunately.
 

copex

Getting the hang of it
Joined
Feb 15, 2015
Messages
225
Reaction score
79
Location
Cumbria,England
The app for this camera is:

ONVIFER can view all cameras but can only control Cam 1 (port 5000).

There is no browser viewing for these cams. Only with the apps.
try emailing the developer.
 
Top