-
Notifications
You must be signed in to change notification settings - Fork 102
Play audio from buffer #13
Comments
@xoapit did you find a solution for this? |
Actually, I cannot do it. I have some ideas to record VOIP in android device. But most of them are not supported to record VOIP so I tried to do this in the server. |
Hi, did you find a solution for this? |
Someone could find a solution for this? @xoapit @GiampaoloComida @brycepavey |
@eduardotamaki my colleague created a fork where we use a circular buffer. |
@brycepavey that's awesome! |
@brycepavey Awesome, I will have a look to it... |
I already resolve this, basically, data return from I do it in a tricky way, I don't care much about the header and the config is not usually change so I get the normal output wav (from result file path) and extract the header bytes (first 44 bytes). Every time I want to stream audio file, I stream these header bytes first, others bytes from base64 chunks will be sent later. (buffer is bytes array) If your guys have better ways to build wav header, please let me know |
A good package we're using at the moment is ffmpeg this allows you to create and convert audio files from mp3, wav etc... might help as we're using it to stream and build files in the server. |
Hi all,
I am trying to join buffer and playback it. Does anyone have a idea for this case.
Thanks in advance.
The text was updated successfully, but these errors were encountered: