rtmp-download

0.0.3 • Public • Published

rtmp-download

A Node Module to download RTMP Streams. Important: This Module requires the C lib rtmpdump. rmtpdump for Mac

var rtmp = require('rtmp-download');
 
var config = {
    src: 'rtmp://video.url/video.mp4',
    target: '/home/user/videos/video.mp4',
    onProgress: function(data) {},
    onExit: function(data) {},
    onError: function(error) {}
};
 
rtmp.download(config);

Installation

$ npm install --save rtmp-download

Data

The data object of the callbacks onProgress and onExit contains the following data:

{
    kbLoaded: 12345,
    secondsLoaded: 12,
    percent: 10.5
}

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.3
    14
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.3
    14
  • 0.0.2
    0
  • 0.0.1
    0

Package Sidebar

Install

npm i rtmp-download

Weekly Downloads

14

Version

0.0.3

License

MIT

Last publish

Collaborators

  • vardump