Click here to Skip to main content
15,888,521 members

Comments by manyareddy (Top 8 by date)

manyareddy 9-May-14 4:56am View    
Thanks for the comment.. I try to write streaming media server..
manyareddy 9-May-14 4:54am View    
Deleted
Hi pdoxtader, are there any basic examples for xmlhttprequest, for HTML5 and C#... I am not able to find basic examples.. I am quit new to xmlhttprequest. Please give me an example or tutorial.. thank you :)
manyareddy 8-May-14 11:23am View    
Thanks for the tip.. I will try this
manyareddy 8-May-14 10:55am View    
Thanks for the correction. But still it is not smooth :)<br>
any other suggestions?
manyareddy 8-May-14 9:32am View    
Thanks for the comment.. Yes, my client need to be a browser.. by the way How did you do the refresh to get the new image (with the same name)... When I am doing it is not refreshing... Below is my refresh procedure:
function reloadCam() {
var imgTag = document.getElementById("image_");
var fetchInterval = 40;

if( imgTag != null) {
imgTag.src = imgTag.name;//? + new Date().getTime();// + "?t=" + Math.Random();
setTimeout("reloadCam();", fetchInterval);
}
}

This how I am calliing
<img id="image_"
name="http://localhost/IpCamVideo/1.jpg"
src= "http://localhost/IpCamVideo/1.jpg"
alt="Getting live video"
border="0"
width="618"
height="348"
>
<script type="text/javascript">
reloadCam();
//setTimeout("reloadPage();", 19623);
</script>