I’m kinda stuck on what is the correct and seamless way of playing videos stored Appwrite storage in a flutter app. I have long videos of 3-5 hours but of less size - 500-800MB. I am currently trying to generate an authenticated url by creating JWT token and giving it to the video player controller. But my main issue arises when the JWT expires after 15 mins. I am not able to find proper solution for this peculiar issue. I earlier tried to use the getFileView api but it returns bytes with which I’m not sure how to integrate seek and other video player functionality. I keep getting 401 mid stream due to this. I’m using chewie for video playback.
Please suggest the correct way or link to references.
Recommended threads
- general_route_not_found - Auth Guide
If you’ve just added a subdomain to your project, verified your DNS records, and confirmed your SSL certificate is working, but you're still hitting a `general_...
- Impossible to get USER after createEmail...
Am using provider to deal with functions linked to appwrite. Here is my login. Future<String?> login(String email, String password) async { try { aw...
- User ID case sensitivity
I see that through REST (and SDK as well), getting a user is not case sensitive. And even though documentation does not clearly state that it is, the wording "V...