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
- updateSession not working anymore
Was something changed recently on Cloud since updateSession is no longer working and I get 400 when calling it, with following error: ``` { "message": "The...
- Rate limit
How do I solve "Signup Failed, Rate limit for the current endpoint has been exceeded. Please try again after some time"? I have Pro and around 2k requests per ...
- client.ping() does not appear to work.
After upgrading to 1.8.0, I ran the `starter_for_flutter` and tested the ping. It failed with a "Server Error". I tried this again on my production instance (1...