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

New endpoint for enabling video download of Cloudfare videos #411

Merged
merged 5 commits into from
Jan 25, 2023

Conversation

carlosgio
Copy link
Contributor

@carlosgio carlosgio commented Nov 13, 2022

Cloudflare does NOT allow uploaded videos to be downloaded (just streamed).

This is enough for frontend apps (like Diamond or Desofy) but not for backend apps (like OneClout) which need to download the video to their servers before uploading it to a different platform (e.g. Twitter).

Cloudflare includes an endpoint that enables an uploaded video to be downloaded.

This PR adds a DeSo endpoint that calls said Cloudfare endpoint for a given video identifier.

It's important to note that a Cloudflare download is billed in the same way as the streaming of the video, which means that DeSo nodes will NOT be charged extra if this endpoint is used.

Note: I've created a new PR on the docs repo for the corresponding API documentation for when/if this PR is merged.

@lazynina lazynina merged commit d55fe7d into deso-protocol:main Jan 25, 2023
@carlosgio carlosgio deleted the enable-video-download branch January 26, 2023 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants