Is there a receiver for a media recorder?

In fact, I am creating an application that starts recording when the user starts talking and stop recording automatically when the user stops talking.

so is there a way to find if the user is talking or not? Is there a Media Recorder listener for this?

+4
source share
1 answer

No, AFAIK there are no listeners or intentions that would notify your application that the sound level has exceeded a certain threshold (for example, the user started talking).

You can use the AudioRecord class to record the sound of a microphone and then analyze it to see the volume. However, this will require your application to start at this time.

+1
source

All Articles