D-Link Forums

The Graveyard - Products No Longer Supported => IP Cameras => DCS-930L => Topic started by: 2k05gt on June 27, 2014, 06:52:40 PM

Title: stream video on Android device
Post by: 2k05gt on June 27, 2014, 06:52:40 PM
Is there a way to get the camera web software to display live video
I try to select hava and activex but I dont see any image.  I can only see still shots.

I cant get the apps to work si ce I could not add my device to mydlink.com account.
Title: Re: stream video on Android device
Post by: nullit on June 29, 2014, 07:42:38 PM
In the following html, change URL:port# to whatever web address and cam port number you use, save to your server with some name (fx. myowncam.htm), the call it from your Android browser. Provides virtually live video.

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<meta http-equiv="content-type" content="text/html; charset=us-ascii">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="expires" content="0">
<script type="text/javascript">
var refreshrate=0.5;  //SECONDS BETWEEN REFRESH
var image="http://URL:port#/image/jpeg.cgi";  //IMAGE NAME
var imgheight=480;  //IMAGE HEIGHT
var imgwidth=640;   //IMAGE WIDTH
function refresh(){
document.images["pic"].src=image+"?"+new Date();
setTimeout('refresh()', refreshrate*1000);}
document.write('<IMG SRC="'+image+'" ALT="" NAME="pic" ID="pic" WIDTH="'+imgwidth+'" HEIGHT="'+imgheight+'"  STYLE="border: 1px solid Black;">');
// -->