Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
data: d
};
},
getVideo: function(cmd) {
var buffer = kinect.getVideo();
return {
data: buffer
};
}
};
app.listen(port);
console.log('Express server listening on port %d, environment: %s', port, app.settings.env);
console.log('Using connect %s, Express %s, EJS %s', connect.version, express.version, ejs.version);
socket = io.listen(app);
/*
app.configure('production',function(){
socket.set('transports', [
'websocket'
//,flashsocket'
//,'htmlfile'
//,'xhr-polling'
//,'jsonp-polling'
]);
});
*/
socket.on('connection', function(client) {