Rank 1: Thread
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?
Votes
1
Replies
17
Participants
Unknown
Messages
18
Rank 1: Thread
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?
Rank 1: Thread
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?
Rank 1: Thread
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?
Rank 1: Thread
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?
Rank 1: Thread
My file type was being set as video/x-matroska and not webm giving me a weird error
Rank 1: Thread
Thank you for your assistance
so after uploading, the file type is video/x-matroska? or when viewing?
Rank 1: Thread
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
Rank 1: Thread
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
Rank 1: Thread
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?
Rank 1: Thread
No sir thank you
[SOLVED] streaming media