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

[Question] How can I save/load videos using my custom storage? #2139

Open
drinkwithwater opened this issue Jan 19, 2025 · 3 comments
Open

[Question] How can I save/load videos using my custom storage? #2139

drinkwithwater opened this issue Jan 19, 2025 · 3 comments
Assignees
Labels
question Further information is requested triage Needs triage

Comments

@drinkwithwater
Copy link

AVPro Video Version

No response

Which platform is your question for?

Windows, Android, iOS

Your question

I want to save or load videos from local storage, such as a SQLite database, but the MediaReference does not support this.

@drinkwithwater drinkwithwater added question Further information is requested triage Needs triage labels Jan 19, 2025
@Chris-RH
Copy link
Contributor

For this to work you would need to write out the video from the database to a temp location and playback from there. It might be possible on Windows, but unlikely on iOS and Android.

@drinkwithwater
Copy link
Author

Is there a way to save a video to custom storage after it has been cached from a remote URL?

@Ste-RH
Copy link

Ste-RH commented Jan 20, 2025

No. That is not what caching is designed to do. Videos that have been cached are stored in none readable formats on the two platforms that support caching (Apple and Android).

If you want to download a video, then the AVPro Video caching feature is not the right tool for the job.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested triage Needs triage
Projects
None yet
Development

No branches or pull requests

3 participants