Latest Threat ResearchGlassWorm Loader Hits Open VSX via Developer Account Compromise.Details
Socket
Book a DemoInstallSign in
Socket

rtmp-download

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rtmp-download

A Wrapper arround rtmp dump

latest
Source
npmnpm
Version
0.0.3
Version published
Maintainers
1
Created
Source

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
}

Keywords

rtmp

FAQs

Package last updated on 27 Sep 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts