Hello I’ve currently been able successfully store some audio and video recordings in appwrite storage is there anyway for me to stream the content afterwards?
Appwrite supports the range headers so you should be able to stream the content...how do you trypically do it?
Do I not just call getFileView with the appropriate Parameters from the client sdk?
with the web sdk, that function gives you the URL to the file. Then, you can put that into an HTML element to render it, just like an image
again, how do you typically stream video and audio?
I guess I’m confused by that question, is it not the same process?
would you please explain to me what your process is typically outside of appwrite?
Currently all I am doing is putting the url I get from function I listed above in to a video element and expecting it to stream.
right. so what's not working?
My file type was being set as video/x-matroska and not webm giving me a weird error
Thank you for your assistance
so after uploading, the file type is video/x-matroska? or when viewing?
When uploading I was recording a webrtc stream and then uploading it and I guess in the process it did that due to me being on a Mac
Not really sure why however when I record and specify the mine type as video/webm;codecs=vp8 opus it works fine and stores it as a webm
Than I’m able to view it fine from the web url
video and audio formats can be tricky. i always get confused between container types and codec types etc. etc.
Is there anything else you need?
No sir thank you
[SOLVED] streaming media
Recommended threads
- is `account.get()` safe to be used in th...
I want to user's `id` for authentication. However, a while ago I was told in this server not to use `account.get()` and instead add user preferences for that us...
- Usage of the new Client() and dealing wi...
Hey guys, just a quick one - we had some web traffic the other day and it ended up bombing out - To put in perspective of how the app works, we have a Nuxt Ap...
- All My Project is Gone
Hello everyone, please help. Why have all my projects suddenly disappeared? I received a warning via email about one of my projects being paused. When I clicked...