Is there a way to access the microphone on Android phones similar to accessing android.hardware.Camera ? I know that we can use MediaRecorder to record sound from an android application to a file, as shown in this link .
Let me explain what I want to do. I access the Camera from android program to capture video and retrieve each captured frame using the Camera.Preview callback function. After decoding the frame, I upload to say the streaming server (I have not tried it practically :) :) These frames will contain only information about the image, how can I get audio along with the frames?
Can someone suggest me a technique for implementing the above idea?
source
share