-
Notifications
You must be signed in to change notification settings - Fork 35
Description
🔖 Feature description
I'm playing with appWrite for a personal project. I've using appwrite database and storage.
All great until trying to use AVPlayer...
We need an url to load the video and I have ByteBuffer from SwiftNIO 🫠
It would be great to have and url way to access file.
¿Already it exist any way to load a video from existing getFileView into AVPlayer? ¿Anyone can help me?
Sorry if it is a unnecessary issue on GitHub
🎤 Pitch
Other SDKs like VimeoSDK give you an url with special token of the file requested
appWrite URL: https://127.0.0.1/v1/storage/buckets/123/files/123/view?project=123
Vimeo URL: https://127.0.0.1/v1/storage/buckets/123/files/123/view?project=123&token=123
That token include security directives, role, etc. That way allow us (developers) to use the URL for AVPlayer for example without conversions and keep the streaming file (I think they use HLS for video file instead of byte ranges)
👀 Have you spent some time to check if this issue has been raised before?
- I checked and didn't find similar issue
🏢 Have you read the Code of Conduct?
- I have read the Code of Conduct