Stagefright Media Delay In 2.2 After Setting Data Source?
My first post here. This website has been very useful for learning Android programming, thanks to everyone. I have a simple app that loads an MP3 stream and plays it. It works fine
Solution 1:
Do not call prepare()
from the main application thread, particularly for a stream, because that may take much longer than you're allowed before an ANR. Use prepareAsync()
instead. I have no idea if that is the root of your particular problem, but it would certainly be one cause of an ANR in your current implementation.
Post a Comment for "Stagefright Media Delay In 2.2 After Setting Data Source?"