Switched to new API

Esse commit está contido em:
Laurent Eschenauer
2013-05-29 20:30:57 +02:00
commit 758116f32f
+1 -1
Ver Arquivo
@@ -15,7 +15,7 @@ function video(name, deps) {
}); });
// Add a handler on images update // Add a handler on images update
deps.client.createPngStream() deps.client.getPngStream()
.on('error', console.log) .on('error', console.log)
.on('data', function(frame) { .on('data', function(frame) {
latestImage = frame; latestImage = frame;