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
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>