Live decoding on Android
Opened this issue · 0 comments
iPhaeton commented
Hi. We use Aurora.js in an Android application on React-Native. It took quite a while to make it work with Reac-Native, but it works great for IOS. For Android everything is fine, when we record a file using microphone and then decode it in Aurora. However, on Android we can't decode a file while it is still being recorded.
We create an asset using fromBuffer
method. The only difference between the buffers we pass to Aurora is bytes 25 to 28 that, apparently, define the file length. The problem is that M4ADemuxer can't deal with a buffer for which length is not defined. Is there any way to make M4ADemuxer work with audio data for which final length is unknown?