After looking at related MediaPlayer discussions, I can discount a couple of
possibilities:- my MediaPlayer is attached to the application object and is
not affected Activity lifetimes (handles rotations ok)
- the MediaPlayer creation and play are done in a separate thread than the
activity thread

On Mon, Sep 28, 2009 at 1:19 PM, Mark Skiba <markwsk...@gmail.com> wrote:

> I'm writing a streaming music player application and I frequently get
> a "PFMVErrTimeout" error generated by the PlayerDriver according to
> the ADB log.  This appears to happen even with good reception.  I
> can't seem to find any documentation on this error message.
>
> What does a PFMVErrTimeout" error indicate?
>
> Is there anything that can be done from an application that can
> eliminate or minimize this error?  Is there a way to recover other
> than freeing up the MediaPlayer and creating a new one?
>
> Also, what is the ERROR/PlayerDriver(26027): HandleInformationalEvent:
> type=28 UNHANDLED refer to?  Do I need to add an event handler for
> this?
>
> This error seems to be mostly associated with the "/dalvikvm(55): GC
> freed" event.
>
> 09-28 13:08:17.458: ERROR/LocationMasfClient(55): getNetworkLocation
> (): accuracy is too high 43000
> 09-28 13:08:56.799: ERROR/PlayerDriver(26027):
> HandleInformationalEvent: type=28 UNHANDLED
> 09-28 13:09:00.048: DEBUG/dalvikvm(55): GC freed 28400 objects /
> 1300576 bytes in 383ms
> 09-28 13:09:11.799: ERROR/PlayerDriver(26027): HandleErrorEvent:
> PVMFErrTimeout
> 09-28 13:09:11.799: ERROR/MediaPlayer(27020): error (1, -11)
> 09-28 13:09:11.808: ERROR/MediaPlayer(27020): Error (1,-11)
> 09-28 13:09:11.808: ERROR/MobzillaPlayer(27020): onError--->   what:
> 1    extra:-11
> 09-28 13:09:11.928: ERROR/MobzillaPlayer(27020): error: Media Player
> Error
> 09-28 13:09:11.928: ERROR/MobzillaPlayer(27020): java.lang.Exception:
> Media Player Error
> 09-28 13:09:11.928: ERROR/MobzillaPlayer(27020):     at
> com.Mobzilla.Player.MobzillaApplication.onError
> (MobzillaApplication.java:319)
> 09-28 13:09:11.928: ERROR/MobzillaPlayer(27020):     at
> android.media.MediaPlayer$EventHandler.handleMessage(MediaPlayer.java:
> 972)
> 09-28 13:09:11.928: ERROR/MobzillaPlayer(27020):     at
> android.os.Handler.dispatchMessage(Handler.java:99)
> 09-28 13:09:11.928: ERROR/MobzillaPlayer(27020):     at
> android.os.Looper.loop(Looper.java:123)
> 09-28 13:09:11.928: ERROR/MobzillaPlayer(27020):     at
> android.app.ActivityThread.main(ActivityThread.java:3948)
> 09-28 13:09:11.928: ERROR/MobzillaPlayer(27020):     at
> java.lang.reflect.Method.invokeNative(Native Method)
> 09-28 13:09:11.928: ERROR/MobzillaPlayer(27020):     at
> java.lang.reflect.Method.invoke(Method.java:521)
> 09-28 13:09:11.928: ERROR/MobzillaPlayer(27020):     at
> com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run
> (ZygoteInit.java:782)
> 09-28 13:09:11.928: ERROR/MobzillaPlayer(27020):     at
> com.android.internal.os.ZygoteInit.main(ZygoteInit.java:540)
> 09-28 13:09:11.928: ERROR/MobzillaPlayer(27020):     at
> dalvik.system.NativeStart.main(Native Method)
> 09-28 13:09:11.978: ERROR/MediaPlayer(27020): stop called in state 0
> 09-28 13:09:11.978: ERROR/MediaPlayer(27020): error (-38, 0)
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to