Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow end users to download the video to their device #25

Closed
jai-dewani opened this issue Sep 7, 2020 · 2 comments
Closed

Allow end users to download the video to their device #25

jai-dewani opened this issue Sep 7, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@jai-dewani
Copy link
Contributor

I saw this blog post of how to make a file serving server and it struck me that we can add some file serving routes and host the application. Whenever a person clicks on download the file will get downloaded on the server but the user will also get a link to access that file which will go through the file serving routes with the help of which he should be able to download the file to his device.

Kinda hacky but is a good place to start with

@jai-dewani jai-dewani changed the title Add the option to host the app and the user can download the video to their device Allow end users to download the video to their device Sep 7, 2020
@utkarsh-raj utkarsh-raj added the enhancement New feature or request label Sep 8, 2020
@utkarsh-raj
Copy link
Owner

Sounds great! I was trying to make such functionality in the very initial days of the project.

Since I was deploying it on c9 there was a limit of how much data I can store on the server before serving it to the client. If we can try making a socket connection through the server so that the data immediately goes to the client, maybe we can bypass the storage problems.

@jai-dewani
Copy link
Contributor Author

Yeah, that is an elegant solution, another way is to download a video on the server and delete it the next day via some automated script to avoid storage problems :p

I am saying this because I don't have a clear idea about socket right now (it has been years 😝 ) I'll try searching for some blog or tutorial on how to use sockets to forward data streams.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants