Open MurzNN opened 6 years ago
Unlimited file transfer im Matrix/Riot will be cool unique feature for messengers, because at now all popular messengers have file size limit:
This feature will be as second variant of file transfer. Not replace current method. And user will can select how he want send file.
Matrix server can configure upload file size limit, but allowing upload large files for users in Matrix will give a lot of waste on servers storage (not only on one server, but on all other, that federate this room too), because most of files, that user transfers via instant messengers, are needed only once or via limited time, but servers will store them forever.
Eg, Telegram allow upload 1,5gb files and many users now use it as personal cloud drive with unlimited space, not as instant messenger. I don't want that users will use my Matrix homeserver as personal cloud file storage, because my server have limited space, but want to allow one-time transfer large files via Matrix for users.
Related MSC proposal: matrix-org/matrix-doc#2354
This could also serve as an alternative to the issue of permanent media retention (until a proper solution is worked out https://github.com/matrix-org/synapse/issues/6832).
Very often people use messenger for transfer files, and most of servers limits the file size for save server space, so there are no ways to transfer large files.
But if we can do direct p2p video calls - why we can't transfer files via same way?
So will be good to have file transfer feature in Riot via WebRTC technology, here is example of file transfer process: https://webrtc.github.io/samples/src/content/datachannel/filetransfer/
And we can auto-suggest this mode of file transfer, if user try to upload file larger than Matrix server limit.