|1.||Base 64 authentication:a method designed to allow a web browser, or other client program, to provide credentials – in the form of a user name and password – when making a request. When this method is using, a new window will pop up to ask user name and password, like following2 examples:|
|2.||Form authentication: a cookie based authentication system that user name and password is sent to web server through HTTP GET or POST and the credential is passed in http body not headers. There is no pop up windows. The user name and password usually is input in a regular log in or sign in web page as following:|
|As a rule as thumb, if there is
pop up window, usually, it is basic authentication. You do not need to
User Parameter and Authentication Password
Parameter. NC 1200 use this kind authentication, so we do
not need to input Authentication
User Parameter and Authentication
|To make it complete, how to find Authentication User Parameter and Authentication Password Parameter in case the browser uses Form authentication method. The following example showing how to use HTTP Analyzer to identify those two parameters when user try to login to the Microsoft live mail. If HTTP Analyzer is disable, turn it on as above steps.|
|1. Open a page with Form authentication, here is http://live.com, when page loaded, click clear button at upper section in HTTP Analyzer, then type into email@example.com as ID and 123456 as the password, then click sign in button. Shown as following:|
|2. Of course, you won't be able to login, but we just need to get those 2 parameters, no matter you can sign in or not, those parameters are same.|
|Click the first line in the url grid in the upper section of HTTP Analyzer, and then click the Post Data in the lower section of HTTP Analyzer, you will see the Parameter Name and Value columns, compare with the value you just input in step 1, you can very easy to find the Authentication User Parameter is login and Authentication Password Parameter is passwd. Shown in below.|
|If you are submitting your camera with form authentication like above, you will need to follow above steps to find out Authentication User Parameter and Authentication Password Parameter, then type into related text box in submitting page.|
|After you click Submit, a request will be
sent to web server in camera and HTTP Analyzer can record all
information. Now check the HTTP Analyzer to find the url we
just sent. Find the row with type of "text/plain"
or "text/html" , if you already clicked "Clear" button in
HTTP Analyzer, you will easily find the first row
is what you need. Please be advised, always clicked "Clear"
button in HTTP Analyzer before you click any button
so that it is easy to find the information you need.See blow:
|Now copy the URL column in the first row, you will get
something like this:
The url is quite different among cameras, and you do not need to understand what the meaning is.
Go to submit page in mobiwatcher website, input following string into Motion Detection ON field: /cgi-bin/setevent.cgi?eventid=0&eventsource=131072&eventaction=327680&eventcamera=0&eventduration=3
Remember to remove the the http prefix and ip address of ip camera .
|Now, click Clear button in HTTP Analyzer , then click Submit button to send request to camera.|
page refreshs, click the first row in the upper area of HTTP
Analyzer and copy the column of URL. The value of the URL is :
Because we only need the turn on/off FTP and not the actually setting of ftp server or other setting, which will be handle later, we need only part of this url related to ftp on/off, so the eventually url for ftp on will be http://192.168.0.6/cgi-bin/setftp.cgi?ftpenable=1
Input this into ftp on Url field with the following string:
Please only include the parameter of ftp on or off, not including the actual setting.Otherwise, it will not work through mobiwatcher system.
HTTP Analyzer, and click Submit button, after page refreshs, click
the first row of HTTP Analyzer, and copy URL as shown below .
|The value of URL is:
The same reason like FTP on/off setting, we only need input the part of the url for tcp on or off portion into TCP Message ON Url field:
|Check the HTTP Analyzer from the Url in the first row as following:|
reboot url is http://192.168.0.6/cgi-bin/reboot.cgi?1208046959359, so
we will input reboot field in mobiwatcher as following:
Some camera may pop up a warning window like below:
Do not click OK. if you click OK the current window is closed and you are not able to check the information in HTTP Analyzer.
|Select channel3 and set to active||Find the url from HTTP Analyzer|
submit button and page refresh, click the first row in the upper
section of HTTP Analyzer, there are two interesting thing:
|Type into camera name in to camera location, then
clcik Submit button. After page refreshed, check the upper section
of HTTP Analyzer.
|The url in the first row is
Remove the ip and prefix,and replace the camera name with meta-Paramter, specifically, replace IPCam-82A1 with $camName$,then fill into Set Camera Name Url in Submit page in mobiwatcher website with follwing string:
You have to replace the real camera name with meta-Paramter. The meta-Paramter is case sensitive.
Make sure select admin for group and type user name, 1111 for example nad password, 2222 just for example.
Click Clear button in HTTP Analyzer, then Click Submit button. After page reload, check the the url for the frist row in URL panel.
|The Url for the request we just made is :
As a rule, remove http prefix, ip address, then replace the user name and password with meta-parameter, so the final string to input into the field in submit page in mobiwatcher website is:
Admin group is important to be function correctly, the gourp=0 is for admin group. Alos remember to replace user and password with meta-paramter. Here is to replace 1111 with $user$ and 2222 with $pwd$
|Click show icon and user related setting tab to start configurate user related settings|
|Each item in dropdown list is a group. You can pick up any one to start.|
|The order to config a setting group is|
|then clikc Save button, page reloaded, and you will see a record showing in the section "Setting Type for: NC1200", Click Show button, there will show all "parameters mapping for current setting Type" section, however, we only add FTP setting, and did not add any detail parameters for it, so there will be a message saying: Total avaible parameters: 7. None mapped. It is true we did not add any parameters mapping here.|
|Let us start to add a FTP parameters mapping. Find the ftp setting page in camera browser, as we mentioned before, it is under Configuration setting -> advanced->FTP. The setting in your camera must be different than NC1200 , what we used as example. Clear HTTP Analyzer and clcik submit button, the screen shot see here.|
|After page reload, go to the Request panel in the lower part of HTTP Analyzer, Click Query String, you will see all parameters. Shown below:|
above parameters in red box are what we need to input in submit page.
Only those parameters are populated in our system, mobiwatcher service
know how to update your camera with correct information.|
It is easy to understand what those parameters stand for. Click the under Add column in the row of FTP server, another window pops up such as following:
|In the window above you are asked to map the parameters between your camera, here is NC 1200 to mobiwatcher standard parameters name. We already got all parameters of FTP from request panel in HTTP Analyzer shown above, so we can type ftpserver into the field of FTP Host or IP, ftpuser for FTP User Name, shown as at the right above.|
|Click Add, the parameters for FTP will be saved into mobiwatcher system. Shown as below:|
|You will notice the message for ftp server is changed to "Total available parameters:7. 3 parameters not mapped. If you click again and check the parameters for ftp parameters, you will found only 3 parameters left for mapping. Not all parameters are support by camera. It is valid if some parameters not mapped.|
|Ftp server, ftp username and ftp password are required. ftp directory is high recommended, if the camera support this feature.|
|After click submit, we can find the url for this request from HTTP Analyzer. Shown below:|
|The url is http://192.168.0.6/cgi-bin/setsntp.cgi?enable=1&ipsel=0&timezone=57&ipindex=10&server=0.0.0.0&daylight=0|
|As the same rule as FTP setting, we know the method is Get and server side handler is cgi-bin/setsntp.cgi, input into popup as below|
|After click Save, the setting group is saved. Now we have 2 rows in setting type now as shown below. Click the Show button, the mapping message change to "NTP Server [Total avaialbel parameters:2. None Mapped]". This true, because we did no add any parameters ampping for NTP group.|
|Click Add button in the row of NTP Server, and bring up pop up window to add aprameters mapping for NTP setting.|
|We need to find those two parameter. Based on the url we got:|
We can figure out the parameter for NTP Server is server and time zone is timezone. Input those value and click Add as following:
|Now we need to find where the setting can be set in camera. In NC 1200, it is under Configuration setting->Basic->Network, shown below. Your camera must be different location.|
The above setting contains http port, also DNS setting, which we will cover later. Clear HTTP Analyzer, then click Submit, IE pop up warning to confirm continue.
Find Url from URL panel of HTTP Analyzer as below:
|The Url is very long, but we are only interesting for http method and server side handler. For NC 1200, teh method is GET and server side handler is cgi-bin/setnetwork.cgi. input this infomation into popup like below|
|Click Save to save HTTP Port group.After page reload, Click Add icon in row of http port shown below|
|A window will pop up as following:|
|The parameter for http port is easy to find form the request panel of HTTP Analyzer, it is port, so input port into the pop up in submit page in mobiwatcher, shown below:|
|Click Add to finish HTTP Port setting.|
|Input DNS parameters then click Add to save setting.|
|DNS Setting group finished.|
Click Submit. Then check the HTTP Analyzer to find server side handler and parameters.
|The information to add ddns setting are:|
Mobiwatcher currently does not support turn on/off DDNS. So you need to
manually turn it on on your camera after you create your device. Create
device is different than submit video capture device. The
submitted video capture device is a template. To Create
device will create a instance of the template, and create a device with
The video capture device you submit will be used by other people.But the device you created is accessible only by you.