subinps / VCPlayerBot

Telegram bot to stream videos in telegram voicechat for both groups and channels. Supports live steams, YouTube videos and telegram media. Supports scheduling streams, recording and many more.
GNU General Public License v3.0
532 stars 1.4k forks source link

auto reconnect #39

Open anon97945 opened 3 years ago

anon97945 commented 3 years ago

It is not heroku daily restart proof. It maybe should check if it's connected and if not connect. Since /leave and then /play works.

My playlist is getting following error: [12-Oct-21 05:50:18 - ERROR] - asyncio - SetVideoCallStatus: [400 Bad Request]: [400 PARTICIPANT_JOIN_MISSING] (caused by "phone.EditGroupCallParticipant")

subinps commented 3 years ago

Actually this occures in rare cases. Most of the cases on restart, the bot will join the groupcall. In some cases there is an error. I don't know if this is from my codes or from py-tgcalls lib or from telegram side.