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
- Why does this happen?
`AppwriteException: general_argument_invalid, Invalid `secret` param: Value must be a valid string and at least 1 chars and no longer than 256 chars (400)` the...
- How i can call increment with operators ...
- Compatibility issue with Kakao OpenID Co...
**Context:** I am attempting to integrate **Kakao Login** (one of the largest social login providers in South Korea) into my Flutter application using Appwrite'...