×

Discussion Board

Results 1 to 8 of 8
  1. #1
    Registered User
    Join Date
    Jun 2008
    Posts
    3

    MediaException (Prefetch Error: -4) on Nokia N95

    Hi everyone,

    I'm trying to play a video (3gp) on J2ME application.
    The video plays fine on few devices (Nokia N76 and few SonyEricsson devices).
    The problem starts when I'm trying to activate the video on Nokia N95:
    • First of all, the size of the video is not correct on both Nokia devices, but I've found that this is a known bug.
    • N95 plays the video only for the first time (sometimes even not this). Each time after this first one the video is not played at all. Sometimes MediaException is thrown with the next message: "Prefetch error: -4".


    I've also found a similar thread on this forum (http://discussion.forum.nokia.com/fo...d.php?t=114040) - unfortunately no one replyed to that post (from August 2007).

    I hope you will help me with this.

    Thank you in advance.

  2. #2
    Super Contributor
    Join Date
    Nov 2003
    Location
    Bangalore , India
    Posts
    4,429

    Re: MediaException (Prefetch Error: -4) on Nokia N95

    Hi Mastema! Welcome to Nokia Developer Discussion Boards!!

    What is the firmware version of your N95 ? Is it a newer one ?

    Also give a try with your application in an N95 in Remote Device Access

    Regards
    Gopal

  3. #3
    Registered User
    Join Date
    Jun 2008
    Posts
    3

    Re: MediaException (Prefetch Error: -4) on Nokia N95

    Thank you, balagopalks.

    I've solved the original problem (smaller video and no player destruction in hideNotify of the Canvas - I think that the resources of the player were not really released for some reason).

    I liked the general idea of using the RDA that you've advised in your reply, but couldn't make it work. I am not able to connect to the server - it says that the connection to localhost (?!) failed.

    Do you know why is that so?
    Mastema.

  4. #4
    Super Contributor
    Join Date
    Nov 2003
    Location
    Bangalore , India
    Posts
    4,429

    Re: MediaException (Prefetch Error: -4) on Nokia N95

    I am not sure about this issue, but will check with the RDA team and let you know.

    Regards
    Gopal

  5. #5
    Super Contributor
    Join Date
    Nov 2003
    Location
    Bangalore , India
    Posts
    4,429

    Re: MediaException (Prefetch Error: -4) on Nokia N95

    Just noticed another thread with a similar issue with RDA. May be the solution by 'bloodredsky' could help you ?
    http://discussion.forum.nokia.com/fo...d.php?t=135112

    Regards
    Gopal

  6. #6
    Registered User
    Join Date
    Jun 2008
    Posts
    3

    Re: MediaException (Prefetch Error: -4) on Nokia N95

    ..about RDA: I guess I won't be able to use it from work (the admins close everything here).
    But I'll try it from home anyway - maybe it will be usefull for my non-work projects.

    Thanks anyway.
    Mastema.

  7. #7
    Registered User
    Join Date
    Jun 2003
    Posts
    22

    Re: MediaException (Prefetch Error: -4) on Nokia N95

    I happened to the same problem many time,
    player = Manager.createPlayer(url);
    I used the url for track that size are about 1.3M

    but,some time past,player.prefetch() will be a exception:MediaException (Prefetch Error: -4) always

    Please tell me the solution for my situation

    N95,TheVersion is 10.0.0.018

  8. #8
    Registered User
    Join Date
    Jun 2003
    Posts
    22

    Re: MediaException (Prefetch Error: -4) on Nokia N95

    I hope you will help me with this.
    Thank you in advance

Similar Threads

  1. Infra-red capability
    By Symbian_Challenge_0412 in forum General Development Questions
    Replies: 1
    Last Post: 2005-08-16, 18:24

Posting Permissions

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