I send a video by:
from telethon.tl.types import DocumentAttributeVideo
client.send_file("username",path,allow_cache=False,attributes=(DocumentAttributeVideo(1457, 848, 480),))
But file dont uploaded with stream option o.o <3
But file dont uploaded with stream option
What?
When i send a video, it isn't available to see in stream mode o.o
I think this is done client-side. It might depend on the file type.
Actually it was Telegram being retarded (see #731). Pass your own DocumentAttributeVideo to the attributes of .send_file with supports_streaming=True.
Thanks <3
Hello
It is my problem too,
from telethon.tl.types import DocumentAttributeVideo
client.send_file('username','path',allow_cache=False,supports_streaming=True,attributes=(DocumentAttributeVideo(1727,1280,720),))
When I upload the file, it will not be streamed. The file is mp4