Gathering detailed insights and metrics for @seydx/node-rtsp-stream
Gathering detailed insights and metrics for @seydx/node-rtsp-stream
npm install @seydx/node-rtsp-stream
Typescript
Module System
Node Version
NPM Version
69.3
Supply Chain
79.7
Quality
75.9
Maintenance
100
Vulnerability
100
License
JavaScript (100%)
Total Downloads
7,995
Last Day
2
Last Week
11
Last Month
71
Last Year
488
103 Commits
2 Watching
2 Branches
1 Contributors
Minified
Minified + Gzipped
Latest Version
1.3.3
Package Id
@seydx/node-rtsp-stream@1.3.3
Unpacked Size
12.26 kB
Size
4.42 kB
File Count
6
NPM Version
7.6.0
Node Version
14.16.0
Cumulative downloads
Total Downloads
Last day
-50%
2
Compared to previous day
Last week
-15.4%
11
Compared to previous week
Last month
446.2%
71
Compared to previous month
Last year
-31.1%
488
Compared to previous year
1
Stream any RTSP stream and output to websocket for consumption by jsmpeg. HTML5 streaming video! (Requires ffmpeg)
Usage:
$ npm install node-rtsp-stream
On server:
Stream = require('node-rtsp-stream')
stream = new Stream({
name: 'name',
streamUrl: 'rtsp://184.72.239.149/vod/mp4:BigBuckBunny_115k.mov',
wsPort: 9999,
ffmpegOptions: { // options ffmpeg flags
'-stats': '', // an option with no neccessary value uses a blank string
'-r': 30 // options with required values specify the value after the key
}
})
On client:
<html>
<body>
<canvas id="canvas"></canvas>
</body>
<script type="text/javascript" src="jsmpeg.min.js"></script>
<script type="text/javascript">
player = new JSMpeg.Player('ws://localhost:9999', {
canvas: document.getElementById('canvas') // Canvas should be a canvas DOM element
})
</script>
</html>
For more information on how to use jsmpeg to stream video, visit https://github.com/phoboslab/jsmpeg
Please note that framerate from cameras must be greater than or equal to 15fps for mpeg1 encoding, otherwise ffmpeg errors will prevent video encoding to occur. If you have a camera with advanced configuration options, make sure it streams video at a recommended 25fps.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Score
Last Scanned on 2025-02-03
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More