Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

dpor from livestream #175

Open
w1ld32 opened this issue Feb 11, 2022 · 0 comments
Open

dpor from livestream #175

w1ld32 opened this issue Feb 11, 2022 · 0 comments

Comments

@w1ld32
Copy link

w1ld32 commented Feb 11, 2022

hi, I am trying to connect to a group call of the channel, and if the connection does not take place via a link for the speaker, then the client falls off the call without errors, simply disappears from the list of participants.

group_call_factory = GroupCallFactory(self.client, GroupCallFactory.MTPROTO_CLIENT_TYPE.TELETHON, outgoing_audio_bitrate_kbit=64, enable_logs_to_console=False)
group_call = group_call_factory.get_file_group_call('input.raw')

if not group_call.is_connected:
   link = 'https://t.me/AFVTope_news?livestream=a7423d4ab11bb86bc5' # or link = 'https://t.me/AFVTope_news'
   group = 'https://t.me/AFVTope_news'
   access_hash= 'a7423d4ab11bb86bc5'
   if ('livestream' in link):
      await group_call.start(group, invite_hash=access_hash)   # <- this works but i need client without the possibility of conversation 
      print(group_call.is_connected) #True
   else:
      await group_call.start(group) # <- this droped from call through 40-50 sec
      print(group_call.is_connected) # False but 40-50 sec this client online in groupcall

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant