Sending microphone audio from client Flutter to server NodeJS

33 Views Asked by At

First, english is not my first language so I will try my best to explain right. Im developing an app that connects to a server in nodejs and I want to record audio with microphone and send it to my server while is recording. Im currently using socket.io for both the client side and the server side. To record the audio using the microphone Im using audiorecord library because is the only library I found that works on the last version of flutter.

Code of my flutter app where i try to send the microphone audio

Ive tried the code in the picture. I expect to receive in my server the recording audio in real time.

0

There are 0 best solutions below