TRTMP
A bot for streaming in Telegram RTMP streams.
Get Started
Use a Cloud Platform
Manually
Prerequisites
- >= Python 3.10
poetry
Configure
In order to configure the bot, you have to set the following environmental variables:
APP_HASH
APP_ID
BOT_TOKEN
RTMP_KEY
RTMP_URL
Or put them in a .env
in the root.
Install
poetry install
Run
poetry run python -m trtmp
Commands
Currently, TRTMP has 2 commands. To request more features and commands, talk to us
in @CallsMusicChat.
Note: Commands are triggered with the “/” prefix.
stream
As you may have already guessed, this is the command to start streaming what you want. The stream
command is smartly
takes what you pass and accepts inputs in various ways by:
- Replying a media file.
- Passing a link or a path to a media file.
- Passing a link to a YouTube video.
- Passing a YouTube search query.
stop
This stops the active stream.
License
You just DO WHAT THE FUCK YOU WANT TO.