rtsp-live555
introduction
This is a wrapper which allows you to get RTSP stream from IPC and export in FLV stream.
Installation
NPM
npm install rtsp-live555
- install lastest stable version
npm install godka/node-rtsp-live555
-install lastest version from github
Clone the last version from Github
git clone https://github.com/godka/node-rtsp-live555
Sample
The sample creates a web server at port 8080 and scans RTSP address from IPC with onvif.A stream will be shown on the video element via GrindPlayer(flash) and flv.js when pressing 'play' button.
var rtsp = null;try rtsp = ; catch e rtsp = ;var _url = 'rtsp://1029.mythkast.net/test.264';//test addressvar stream = input: _url ;stream; stream;var _hasrecv = false;stream;