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
- Custom emails
What happen if I use a third party email provider to customize my emails and my plan run out of emails/month? Appwrite emails are used as fallback sending emai...
- Realtime with multiple connections
I need the Realtime on multiple Collections for diffrent applicational logic. So my question is: Is there a way to have only 1 Websocket connection or do I need...
- SyntaxError: Unexpected end of JSON inpu...
I am trying to create a fcm push notification service using appwrite functions with its REST API to invoke that function from my client side app and getting thi...