English 中文(简体)
页: 1 IPCam
原标题:jQuery fetch jpeg image from IPCam
问题回答

页: 1 引言

$( #ipcam ).removeClass( loading ).html("").append(this);

你们应当使用定时而不是固定间隔。

定时将确保在提出新要求之前更新图像。

c 间歇会提出新的要求,即使旧的要求尚未结束。 如果请求按错误顺序返回,这可能导致问题。 这种做法也效率不高,因为它将浪费观众对可能从未见到的请求的带宽。





相关问题
ajax login using httpRequest?

I am trying to develop my login script to give feedback to the user if the login is valid or not. Basically if it isn t correct a div box will show saying its wrong, if its correct it will show its ...

Virtual Tour using sketch up, ajax, flash technologies

I want to know if there are existing technology that make your 3d models in sketch into virtual tours, using either Ajax or Flash for web presentation. If there s none, which will be a good approach ...

How can i update div continuously

I have asp.net application where i have a div which showing the value from other site. The value of that site is changing continuously. I want that my div will automatically update in some interval ...

热门标签