Stream RTSP video through WebSocket for consumption by jsmpeg MPEG1/2 decoder in the browser. Version 0.0.2 (no active release cadence). Requires FFmpeg installed on the server. Similar to node-rtsp-stream and node-rtsp-stream-es6 but reimplements server-side decoding based on jsmpeg's official streaming documentation. ESM-only; does not support require(). No TypeScript types. Use for low-latency HTML5 video streaming from IP cameras or RTSP sources.
npm install node-rtsp-stream-jsmpegNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates a WebSocket server on port 3333 that streams an RTSP video source for jsmpeg playback.
Use import syntax and set 'type': 'module' in package.json, or use dynamic import().
Install FFmpeg (e.g., apt-get install ffmpeg on Debian) or provide full path in options.
Always provide a 'name' string in the options object.
Convert to ES module: use import instead, and set 'type': 'module' in package.json.
Install FFmpeg (e.g., sudo apt-get install ffmpeg) and verify with ffmpeg -version.
Use import Stream from 'node-rtsp-stream-jsmpeg' without curly braces.