Text XML Codes of Camera Settings?

wxman

Pulling my weight
Joined
Feb 15, 2015
Messages
631
Reaction score
163
Location
Southern United States
Has anyone figured out where to find the text XML codes of the Huisun cams current settings?

For example, Hikvision lets you use something like this:

http:// login: pass @ ipaddress: port/Video/inputs/channels/1/

and it would display a page like this:

<VideoInputChannel version="1.0">
<id>1</id>
<powerLineFrequencyMode>50hz</powerLineFrequencyMode>
<whiteBalanceMode>auto1</whiteBalanceMode>
<gainLevel>100</gainLevel>
<brightnessLevel>60</brightnessLevel>
<contrastLevel>60</contrastLevel>
<saturationLevel>65</saturationLevel>
<DayNightFilter><dayNightFilterType>day</dayNightFilterType></DayNightFilter>
</VideoInputChannel>


I've tried these same ones on the Huisun, but they do not work. They must have renamed some of the pages and/or changed the structure of the URL somewhat.
 

alastairstevenson

Staff member
Joined
Oct 28, 2014
Messages
15,970
Reaction score
6,795
Location
Scotland
Try a network capture of the traffic that ONVIF Device Manager conducts with the camera for it's display of the video settings.
SOAP is conducted using XML.
 

wxman

Pulling my weight
Joined
Feb 15, 2015
Messages
631
Reaction score
163
Location
Southern United States
Not sure if I'm really getting anywhere or not, but using the code inspector in my browser, I did come across this javascript file in the cam that seems to somehow control the settings.

IPADDRESS/js/config/picture.js

My knowledge in javascript is fairly limited, therefore I don't quite understand all that I'm seeing.,.but apparently, this is either the page where the image settings are saved or at the very least a script that holds the commands that can be sent to another file. Someone better at coding may be able to make out what is being done here and perhaps a step toward customizing the cam and sending commands to the cam via scripts.
 
Top