comet in vivotek network camera

Post on 15-Jan-2015

3.104 Views

Category:

Technology

3 Downloads

Preview:

Click to see full reader

DESCRIPTION

Comet in VIVOTEK Network Camera. Comet: Comet is a web application model in which a long-held HTTP request allows a web server to push data to a browser, without the browser explicitly requesting it.

TRANSCRIPT

Comet in VIVOTEK Network CameraKent Chen (Kaie)

Problem?

Server side (Network Camera)

Data SYNC

Client side (Browser)

Real-Time (more responsive)

Requirement.e.g., DO status, Audio volume, ...

Solutions!

PollingSucks

Old school

Not fashion

Another CGI attacks …XD

Long PollingInfeasible on embedded Linux

WebSocket IE Sux

Browser compatible issue

Hidden IFrame Technique

Browser busy loading state

always (bad UX)

Comet on

M$ IE

Hidden IFrame via HTMLFile ActiveX Object

Client side

Server side

Comet on

non-M$ IE

XMLHTTPRequest Interactive State

Server side

Client

side

top related