Is it possible in Android to record something that plays MediaPlayer?

In my application, I use live streaming using an Android multimedia player. I want to capture the audio stream played by MediaPlayer. Is there a way to record using Android MediaPlayer instead of MediaRecorder? Any suggestions?

+4
source share
1 answer

While this is not a trivial undertaking, you can write your own “MediaPlayer”, which implements any streaming protocol that you use, and writes the stream to a file instead of a speaker.

+2
source

All Articles