VPON

VPON Network SDK
Active X Control objects
Live Video Viewing
Remote playback
Audio Listen / Speak
Network SDK
Remote Player
VPONLV
Can be embedded
in web page using
JAVA and
VB script
VPONADO
VPON
VPONLV
Remote Live Video
Object ID = “LiveVideo”
CLASSID="CLSID:C520D71D-9ACB-11D5-9221- 0048545CF4D6
Method
document.LiveVideo.start()
document.LiveVideo.stop()
Property
URL
<PARAM NAME="URL"
VALUE="http://192.168.10.10/push.htm;3">
txtNoVideo
txtConnecting
<PARAM NAME="txtNoVideo" VALUE="No Video">
txtTipSave
<PARAM NAME="txtTipSave" VALUE=“Save to file….">
txtTipIdle
<PARAM NAME="txtTipIdle" VALUE=“Click play to show live video">
<PARAM NAME="txtConnecting" VALUE=“Connecting…..">
VPON
Example 1
<html><head>
<title>example</title>
</script>
<script
LANGUAGE="JavaScript">
<!-function do_init()
{
document.LiveVideo.Start()
;
}
function do_stop()
{
<BODY onLoad="do_init()">
<OBJECT WIDTH=640 HEIGHT=480 ID="LiveVideo"
CLASSID="CLSID:C520D71D-9ACB-11D5-92210048545CF4D6">
<PARAM NAME="URL"
VALUE="http://61.222.188.36/push.htm;2">
</OBJECT>
<SCRIPT LANGUAGE="VBScript">
function document_onstop()
do_stop()
end function
</SCRIPT>
</BODY></HTML>
document.LiveVideo.Stop()
;
}
//-->
</script>
</head>
VPON
What you will get on screen after executing example 1
VPON
VPONAdo
Remote Live Audio
Object ID = “LiveAudio”
CLASSID="CLSID:45CE511B-A929-11D5-9221-0048545CF4D6
Method
document.LiveAudio.start()
document.LiveAudio.stop()
Property
URL
Version
<PARAM NAME="URL"
VALUE="http://192.168.10.10/pushado.htm
Audio_Source = 0">
txtVolume
txtPlay
<PARAM NAME="txtVolume" VALUE=“Volume">
txtStop
<PARAM NAME="txtStop" VALUE=“Stop">
txtRecord
<PARAM NAME="txtPlay" VALUE=“Play">
<PARAM NAME="txtRecord" VALUE=“Save as a file">
VPON
Example 2
<BODY onLoad="do_init()">
<OBJECT WIDTH=261 HEIGHT=34 ID="LiveAudio"
<html><head>
<title>example</title>
</script>
<script
LANGUAGE="JavaScript">
<!--
CLASSID="CLSID:4BF136EE-E187-44fd-969362BAA4CA300C">
<PARAM NAME="URL"
VALUE="http://10.11.100.225//pushado.htm;?Audio_S
ource=0">
<PARAM NAME="txtVolume" VALUE="Volume">
<PARAM NAME="txtPlay" VALUE="Play">
function do_init()
{
document.LiveAudio.Start();
}
function do_stop()
{
document.LiveAudio.Stop();
}
//-->
</script>
<PARAM NAME="txtStop" VALUE="Stop">
<PARAM NAME="txtMicrophone" VALUE="Push
button to speak">
<PARAM NAME="txtRecord" VALUE="Save as a file">
</OBJECT>
<SCRIPT LANGUAGE="VBScript">
function document_onstop()
do_stop()
end function
</head>
</SCRIPT>
</BODY></HTML>
VPON
Vertical Bar shows audio link is OK
What you get on screen after execute example 2
and click microphone icon to open it
VPON
Remote Player Active X Control
Object ID = “Playctl”
CLASSID="CLSID: 6FE05542-60CE-11D5-9221-0048545CF4D6
Method
void Start(long nOffset);
void Stop(void);
Property
CString GetServer();
void SetServer(LPCTSTR lpszNewValue);
CString GetPassword(void);
void SetPassword(CString Password)
short GetSpeed();
void SetSpeed(short nNewValue);
long GetLayout();
void SetLayout(long nNewValue);
CString GetUsername();
Void SetUsername(LPCTSTR lpszNewValue);
CString GetFileName();
void SetFileName(LPCTSTR lpszNewValue);
long GetPage();
void SetPage(long nNewValue);
CString GetVersion(void);
long GetBandwidth();
void SetBandwidth(long nNewValue);
VPON
<HTML>
<HEAD>
<TITLE>ATL 3.0 test page for object
PlayCtl</TITLE>
</script>
<script LANGUAGE="JavaScript">
<!--
Example 3
<PARAM NAME="Bandwidth" VALUE="1">
<PARAM NAME="Server" VALUE="10.11.100.254">
<PARAM NAME="FileName" VALUE="00000207.d01">
<PARAM NAME="Speed" VALUE="0">
var ap_min, ap_sec;
function do_init()
{
<PARAM NAME="Username"
ap_min = 45; ap_sec=16;
VALUE="WEBMONITOR">
document.PlayCtl.Layout = 8;
<PARAM NAME="Password" VALUE="OYO">
document.PlayCtl.Page = 0;
document.PlayCtl.Start(ap_min*60+ap_sec*1);
<PARAM NAME="txtTipSave" VALUE="Save">
}
<PARAM NAME="txtTipSnapshot"
function do_stop()
VALUE="Snapshot">
{
document.PlayCtl.Stop();
<PARAM NAME="txtTipStepForward" VALUE="Step
}
forward">
//-->
</script>
</HEAD>
<BODY onLoad="do_init()">
<OBJECT ID="PlayCtl"
CLASSID="CLSID:6FE0554F-60CE-11D5-9221-0048545CF4D6"
WIDTH=800 HEIGHT=600>
VPON
<PARAM NAME="txtTipPlay" VALUE="Play">
<PARAM NAME="txtTipPause" VALUE="Pause">
<PARAM NAME="txtTipStop" VALUE="Stop">
<PARAM NAME="txtTipConnecting"
VALUE="Connecting">
<PARAM NAME="txtTipConnected"
VALUE="Connected">
<PARAM NAME="txtTipDisconnected"
VALUE="Disconnected">
<PARAM NAME="txtTipBuffering" VALUE="Buffering">
<PARAM NAME="txtTipSeekEdit" VALUE="Click to
seek, press ENTER when done">
<PARAM NAME="txtTipNoAudio" VALUE="Failed to
open audio device">
</OBJECT>
</BODY>
</HTML>
VPON
What you see from Example 3
VPON