[WIP] Desktop live stream from openFrameworks to HTML5 canvas

Tried sending screengrabs to a web page by using node.js via websockets and UDP connection. The output on HTML5 canvas is updated square by square, hence the disjointed image:

Screenshot (196)

Result: Really really slow. I have known that UDP is faster than TCP but there is a size limit to the amount of data sent each time (hence the image made up of smaller pieces).

oF app sends screenshot in pieces:Screenshot (198)

Javascript on web page places the pieces together:

Screenshot (197)

Bottomline: time to find another method.

Advertisements
Posted in CAP