Sony SNC-RZ30 User Manual

SNC-RZ30
Web pages customization documentation
version 1
12 / Aug / 2002
SONY Corporation
o
y
This documentation explains the way to display the live images in the other web site and t customize GUI of SONY Network Camera SNC-RZ30. You can view the live images easily b connecting the SNC-RZ30 to the network. When displaying the live images in the other web site and customizing GUI , refer to this documentation and its sample codes.
2. Attention
The contents of this documentation stands for just the reference. When using the sample codes, the knowledge about HTML and Java Script is needed for implementation. We take no responsibility to any damage by the use of this at all. Moreover, this information may be changed without any announcement for the reason of upgrading the product and so on.
3. Providing sample codes
r
b
3.1 The sample codes for calling the ActiveX viewe
The ActiveX viewer is the program which can work in the environment of Internet Explorer (ver 5.5 sp2 or higher or ver 6) on Windows 98 / 98SE / NT4.0 / 2000 / Me / XP Operating System.This is named as the archive "SncRz30View.cab" and is located in /home/ directory in the SNC-RZ30 we server. This chapter provides the sample codes to load the ActiveX viewer.
The sample codes are listed below and its brief introduction goes on as follows.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML LANG="EN"> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <META HTTP-EQUIV="Content-Script-Type" CONTENT="text/javascript"> <META HTTP-EQUIV="Pragma" CONTENT="no-cache"> <TITLE>ActiveX Viewer</TITLE> <SCRIPT LANGUAGE="JavaScript1.2" SRC=”<IP>/command/inquiry.cgi?inqjs=sysinfo” TYPE="text/javascript"> </SCRIPT> <SCRIPT LANGUAGE="JavaScript1.2" SRC=”<IP>/command/inquiry.cgi?inqjs=tcpip” TYPE="text/javascript"> </SCRIPT> <SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript"> <!-­function AViewer(){ document.open(); document.write("<OBJECT ID='Camera1'"); document.write("CLASSID='CLSID:63DF43C2-469A-41F3-B119-17B1ACE8BB34'"); document.write("CODEBASE='<IP>/home/SonySncRz30View.cab' NAME='viewer'>"); document.write("<PARAM NAME='URL' "); document.write("VALUE="+Ip+">"); document.write("<PARAM NAME='MOUNT' "); document.write("VALUE="+Mount+">"); document.write("<PARAM NAME='RATE' "); document.write("VALUE="+DefFrameRate+">"); document.write("<\/OBJECT>"); document.close(); } //--> </SCRIPT> </HEAD> <BODY TEXT="#FFFFFF" BGCOLOR="#000000" ONLOAD="JavaScript:document.viewer.Start();"> <SCRIPT TYPE="text/javascript"> <!-­ AViewer(); //--> </SCRIPT> </BODY> </HTML>
b) The function declaration
c) The scirpt for loading the ActiveX program
a) The script for the inquiry of parameters
The script for the inquiry of parameters
The ActiveX viewer the SNC-RZ30 provides with needs to get some parameters to start up, so that there need to be some scripts as the sample codes shown in (a). By the scripts shown in the sample codes the following parameters can be obtained. "URL information"
This is information about the host name or IP address of the host for ActiveX to connect to.
"Mount information"
This is information how the SNC-RZ30 installs with the mount type. By this information the ActiveX program can select its display of Motion JPEG images with the mount type as desktop or as ceiling.
"Default frame rate information"
This is information about the frame rate of the ActiveX viewer to get Motion JPEG images.
Loading...
+ 5 hidden pages