node-rtsp-stream-es6 icon indicating copy to clipboard operation
node-rtsp-stream-es6 copied to clipboard

Cannot find module 'videoStream'

Open ankit2016 opened this issue 4 years ago • 2 comments

while running node.js file using node app.js getting Cannot find module 'videoStream' (installed ffmpeg) code: const Stream = require('videoStream')

const options = { name: 'streamName', url: 'rtsp://184.72.239.149/vod/mp4:BigBuckBunny_115k.mov', port: 5000 }

stream = new Stream(options)

stream.start()

ankit2016 avatar May 23 '20 20:05 ankit2016

@ankit2016 Try changing:

const Stream = require('videoStream')

to

const Stream = require('node-rtsp-stream-es6')

UNRULYEON avatar Aug 25 '20 18:08 UNRULYEON

It seems that the description on npmjs.com is still wrong: https://www.npmjs.com/package/node-rtsp-stream-es6 const Stream = require('videoStream')

repcsi avatar May 23 '21 08:05 repcsi