Streaming raw bytes or chunks to MediaPlayer #9430
Unanswered
FallenDeity
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have some audio data stored in my database as blob its about 2-3 mb instead of loading the whole data at once and passing it to the player to play as I am doing right now I would like to chunk the data into say sizes of
65536
bytes each and have theMediaPlayer
play these arriving chunks. I have already managed to like load the whole blob at once and play it but when I start chunking it and pass theInMemoryRandomAccessStream
while simultaneously writing to it nothing happens.Chunking:
Playing:
This approach is probably wrong I would be grateful if someone can point me in right direction regarding this.
Beta Was this translation helpful? Give feedback.
All reactions