Skip to content

MagicFun1241/streamer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Streamer

Simple streaming library based on FFMPEG.

Install

npm i @magicfun1241/streamer --save

Examples

Using TypeScript:

import { RtmpStream } from "@magicfun1241/streamer";

const stream = new RtmpStream({
    input: "{URL_TO_MP4}",
    output: "rtmp://live-waw.twitch.tv/app",
    key: "{STREAM_KEY}"
});

stream.start();

It's supports ES5 too. Just change import to something like this:

const { RtmpStream } = require("@magicfun1241/streamer");

Other examples will be in /examples directory.

License

MIT

About

Streaming library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published