mediv0 / youtube-to-aparat-middleware

Stream youtube videos/streams to Aparat

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

youtube-to-aparat-middleware

Stream youtube videos/streams to Aparat

Usage:

this script is used to forward youtube streams to Aparat's RTMP server (or any RTMP server)

You can host this script on Rep.it, Heroku or Glitch.

then run the server by node app.js command

DEMO

RUNNING CODE

Env

you need an ENV file with following values

KEY=<your aparat stream key>
URL=<hls index file (index.m3u8)> or an empty string
YOUTUBE=<youtube stream url>

About

Stream youtube videos/streams to Aparat


Languages

Language:JavaScript 100.0%