Answers for "rtsp camera connection with node js"

2

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);
Posted by: Guest on October-25-2021
0

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
    });
Posted by: Guest on October-25-2021

Code answers related to "rtsp camera connection with node js"

Code answers related to "Javascript"

Browse Popular Code Answers by Language