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
- Status 400 on oauth
Hello, I am getting status 400 on oauth login via google (redirect_uri_mismatch), same with Apple oauth. Is there any issues with oauth authorization currently...
- redirect_uri errors on flutter client
Hi all, I'm using the flutter client for my app to do appwrite auth and use the JWTs to send to my backend. When I try to sign in with SSO, I get this: https:/...
- Request for JWKS Endpoint and OIDC Disco...
Hey Appwrite Team, Do you have plans to support JWKS and a well-known OIDC discovery endpoint? This would let us verify Appwrite JWTs in other services using st...