A bot for streaming in Telegram live streams.
- Create a new directory.
mkdir trtmp && cd $_
- Download a binary from the latest release. If you’re on Debian or a Debian-based Linux distribution, you can just run the following:
curl -s https://raw.githubusercontent.com/callsmusic/trtmp/main/scripts/install.debian.sh | bash
In order to configure the bot, you have to set the following environmental variables:
BOT_TOKEN
RTMP_KEY
RTMP_URL
Or put them in a .env
in the directory.
chmod +x ./your_binary # Only for Unix-like systems.
./your_binary
Note: Commands are triggered with the "/" prefix.
Starts streaming the provided video or URI leading to a media.
-
You can stream from 100+ platforms. Including popular ones like YouTube, Twitter, Facebook, etc.
-
There’s no limit in the duration of the provided media, it can be one second or a live stream.
-
If streaming, the stream should be stopped with
/stop
before using this command.
Stops the active stream.
Tells who is currently streaming what.