rtsp camera connection with node js
var connect = require('connect');
var serveStatic = require('serve-static');
//A channel of camera stream
Stream = require('node-rtsp-stream');
stream = new Stream({
//url of your rtsp
streamUrl: '<your rtsp camera stream url>',
wsPort: 8001
});
//serving index.html (static) file
connect()
.use(serveStatic(__dirname))
.listen(8080);