1

MediaPlayer pause() behaviour

view story
linux-howto

http://stackoverflow.com – I am using a MediaPlayer to stream audio from a URL. According to the documentation, calling the MediaPlayer pause followed by a play will resume from the point where it was paused. I am wondering how this works with a live audio stream. When I call pause is the MediaPlayer creating some sort of buffer of all the incoming data, and storing it until I call play again? If this is indeed the case, is there a max size on this buffer? I am mainly concerned about a user pausing the MediaPlayer and it using a lot of memory while it stores incoming audio data. (HowTos)