Skip to content

fix sharing arbitrary files in the session #27

@zodiepupper

Description

@zodiepupper

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions