×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Jul 2007
    Posts
    16

    Question Prefetch error: -12009

    Hello,

    I'm trying to play a list of 3gp files on N80 with current firmware (as told by software updater). I close each player after it is finished before creating a new one, and also cache the media data in ByteArrayInputStream after it's played.

    If I let it go by itself, it can play a playlist of 6 3gp files (so it is not a memory problem, as I would have all 6 ByteArrayInputStreams at the end). But if I, say at player 2, go back to player 1 (closing player 2, creating and starting player 1) using the cached input streams, realize() works, but it chokes at prefetch() with error "MediaException: Prefetch error: -12009". Skipping prefetch() and calling start() yields the same error (-12009).

    I hope someone can tell me what I am doing wrong, or share their similar experience.

    Cheers,

  2. #2
    Super Contributor
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,191

    Re: Prefetch error: -12009

    The error is Invalid URL... (from here http://www.newlc.com/Symbian-OS-Error-Codes.html)

    But the URLs should be correct as you are able to play the videos separately, right?

    Hartti

  3. #3
    Registered User
    Join Date
    Jul 2007
    Posts
    16

    Re: Prefetch error: -12009

    Hi Hartti,

    I did check the error code table at NewLC.com, but that didn't give a clue.
    I am playing it from ByteArrayInputStream, so there is no URL involved. And yes, I was able to play it once, before I get to the next player.

  4. #4
    Registered User
    Join Date
    Jul 2007
    Posts
    16

    Re: Prefetch error: -12009

    Hartti,

    I found the reason. I was not resetting the ByteArrayInputStream the second time I use it to create the player.

    I had this thought yesterday, but couldn't firm it until now.

Similar Threads

  1. prefetch error: -5
    By sepi1982 in forum Mobile Java Media (Graphics & Sounds)
    Replies: 8
    Last Post: 2010-12-12, 10:41
  2. Prefetch Error -14 on RTSP streaming after HTTP request on N73
    By rbb in forum Mobile Java Media (Graphics & Sounds)
    Replies: 3
    Last Post: 2009-04-27, 10:08
  3. Prefetch error - 34
    By redlex in forum Mobile Java Media (Graphics & Sounds)
    Replies: 6
    Last Post: 2007-12-19, 13:12
  4. What are realize and prefetch exactly ?
    By minasamy in forum Mobile Java Media (Graphics & Sounds)
    Replies: 7
    Last Post: 2007-06-18, 01:19
  5. MediaException when prefetch or play an amr file of 6230i
    By qiu_swing in forum Mobile Java Media (Graphics & Sounds)
    Replies: 3
    Last Post: 2006-09-27, 17:21

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×