-
-
Notifications
You must be signed in to change notification settings - Fork 17
Description
i initially wrote up a concept where when you would upload a file, it would embed the bytes of that file onto the object in the scene. but this, obviously, creates a TON of memory overhead.
i wanna figure out a way to dynamically allow clients to put files into the scene and use the webrtc connection to transfer the file directly.
for this, we will likely need to create a tmp file for every arbitrary file that's uploaded and then when another user goes to export it, it checks if the importing user is still present, then asks their computer to send the file bytes.
alternatively, we could make it so when a user drags a file into a scene when a matrix room is selected, it uploads the file to that room in a hidden message (or visible, just not sure how annoying it will be) and then the other user can download it like any other matrix media object.