Hello again:
writing this code I finally obtain the live stream of the cam. The new problem is that only with JAVA 6.35 this is possible, with newest versions I dont' see anything.
Any help?
<html>
<head>
<link rel="stylesheet" rev="stylesheet" href="dlink.css?cidx=1473428566" type="text/css">
<title>D-Link Corporation. | VIDEOCAMERA INTERNET WIRELESS | HOME | JAVA</title>
<meta http-equiv="X-UA-Compatible" content="requiresActiveX=true">
<meta content="text/html; charset=windows-1252" http-equiv=Content-Type>
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
<meta HTTP-EQUIV="Expires" CONTENT="-1">
<script language="Javascript" SRC="function.js?cidx=1473428566"></script>
<script language="Javascript">
//if (top != self) {
// top.location = self.location;
//}
</script>
<script language="Javascript" SRC="deployJava.js?cidx=1473428566"></script>
<script language="Javascript">
var jreversions = deployJava.getJREs();
var fInterval = "";
function InitAUTO()
{
frm0 = document.forms[0];
frm1 = document.forms[1];
frm0.WebLanguageSel.value = frm1.WebLanguage.value;
}
function ClickSubmit()
{
javascript:document.forms[1].submit();
}
function Stop() {
window.clearInterval(fInterval);
}
function ShowRunningString() {
fInterval = window.setInterval("ShowFrameRate()", 1000);
}
function Init() {
if (1) {
audioon.disabled = true;
audiooff.disabled = true;
} else {
audioon.disabled = true;
audiooff.disabled = true;
}
Browser = CheckBrower();
if (Browser == "Firefox") {
ba = navigator.userAgent;
aa=ba.indexOf("Firefox/");
aa+=8;
cc = parseInt(ba.substring(aa,aa+10))
if (cc >= 46) {
window.setTimeout("ShowRunningString()", 10000);
return;
}
}
window.setTimeout("ShowRunningString()", 3000);
}
function ShowFrameRate() {
var fFrameRate;
if ((0) || (0))
{
fFrameRate = cvcs.GetFrameRate();
}
if (0)
{
window.status = "Fotogramma:" + fFrameRate.toString() + " fps"
}
if (0)
{
CurrentFrame.innerHTML = "Fotogramma:" + fFrameRate.toString() + " fps"
}
cvcs.GetRealTimeData();
CurrentTime.innerHTML = cvcs.GetTimeString();
}
function SubmitAudioOn()
{
cvcs.SetSound(1);
}
function SubmitAudioOff()
{
cvcs.SetSound(0);
}
</script>
</head>
<body topmargin="1" leftmargin="0" rightmargin="0" bgcolor="#757575" onload="Init()" onunload="Stop()">
<td valign="top" id="maincontent_container" height="420">
<script language="Javascript">
if (jreversions == "") {
if (supportJava())
id_jre.style.display='';
} else {
document.write('<applet name=\"cvcs\" codeBase=\"http://10.25.167.92:80\" archive=\"aplug.jar\" code=\"aplug.class\" width=\"320\" height=\"240\">');
document.write('<param name=\"RemotePort\" value=\"80\">');
document.write('<param name=\"RemoteHost\" value=\"10.25.167.92\">');
document.write('<param name=\"Timeout\" value=\"5000\">');
document.write('<param name=\"RotateAngle\" value=\"0\">');
document.write('<param name=\"PreviewFrameRate\" value=\"2\">');
document.write('<param name=\"Algorithm\" value=\"1\">');
document.write('<param name=\"DeviceSerialNo\" value=\"\">');
document.write('</applet>');
}
</script>
</td>
</body>
</html>