Skip to content

dpor from livestream #175

@w1ld32

Description

@w1ld32

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions