Open igerzog opened 2 years ago
What kind of media are you downloading? CTR is only used in CDN and I've never seen them being used.
Ordinary GIF. CTR is used for any photo and video as I have tested.
are you behind a VPN/proxy? I need to test it
No, direct connection.
For better performance telethon-tgcrypto upgrade is recommended to support CTR encryption mode.
AES-256-IGE
- used in MTProto v2.0.AES-256-CTR
- used for CDN encrypted files.Download media speed test for media size: 3259594
Without telethon-tgcrypto — Download time: 58.57s
With telethon-tgcrypto — IGE encryption only — Download time: 56.94s
With telethon-tgcrypto — IGE + CTR encryption — Download time: 4.41s