Open MarshalX opened 3 years ago
when i run the example Demo of private calls ,has the error 'Client' object has no attribute 'send'" ,could you help me
@ZyxEforce rollback your pyrogram version to 1.4.x version
I have managed to make a call using this demo but it keeps showing "Exchanging encription keys". It should be managed by process_update
I suppose but it's not being triggered, how can I fix this? Thanks!
await client2.start()
outgoingCall = OutgoingCall(client=client2, user_id='@hucoo')
print(outgoingCall.state)
await outgoingCall.request()
Hi. I don't support this demo, but, do you try to register the handler on init and print values?
something like
@outgoingCall.on_init_encrypted_call
async def process_call(call: Call):
print('Outgoing call: ', call.auth_key_visualization)
print(call.call.connections)
I have managed to make a call using this demo but it keeps showing "Exchanging encription keys". It should be managed by
process_update
I suppose but it's not being triggered, how can I fix this? Thanks!await client2.start() outgoingCall = OutgoingCall(client=client2, user_id='@hucoo') print(outgoingCall.state) await outgoingCall.request()
Hi @huco95, could you make the private call works? I'm working on it in my free time and I got block in the "Exchanging encription keys" too.
The entire cryptographic part of the project is ready. There is a demo of the implementation. It is necessary to rewrite it to clean code and add it to the library.
Demo of private calls: https://github.com/MarshalX/tgcalls/blob/master/pytgcalls/test.py
Currently, the ability to play from a file has not been added. Audio devices only