×

Discussion Board

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

    Question Prefetch Error -14 on RTSP streaming after HTTP request on N73

    I want to play an audio stream via rtsp on a nokia N73 Music Edition - which is basically no problem. I use Manager.createPlayer("rtsp://xxx.sdp"); then realize(), prefetch() and start() and everything runs smoothly.

    But when I execute another HTTP-Request before, I get a "prefetch error -14" (-14 = "The specified object is currently in use by another program"). Further down you find the code which opens and closes the HTTP-Connection. The method "streamToNode" basically parses a short XML-File and opens and closes another InputStreamReader (without any Exceptions).

    There seems to be some object / resource that remains blocked after after the HttpConnection. But I cannot find out and I would appreciate any help that gets me back on track!

    Kindly,
    Bjoern

    Code:
    HttpConnection conn = null;
    		InputStream is = null;
    		Node result = null;
    		try {
    			conn = (HttpConnection)Connector.open(url);
    			is = conn.openInputStream();
    			result = streamToNode(is,30000);
    
    		} catch (IOException e) {
    			e.printStackTrace();
    			result = null;
    		} finally {
    			try {
    			if (is != null) is.close();
    			if (conn != null) conn.close();
    			} catch (IOException ioe){
    				ioe.printStackTrace();
    			}
    		}

  2. #2
    Registered User
    Join Date
    Apr 2008
    Posts
    4

    Re: Prefetch Error -14 on RTSP streaming after HTTP request on N73

    We have the same problem on N73 and 6120. Any clues?

    If previous HttpConnection was closed and phone tried to obtain rtsp after a while then -33 returned instead of -14.

    Regards,
    Krystian

  3. #3
    Registered User
    Join Date
    Apr 2008
    Posts
    4

    Re: Prefetch Error -14 on RTSP streaming after HTTP request on N73

    Update, if we set different connection profiles for realplayer (streaming) and for java then it didn't work - described before. But if we set the same connection profile for both - java and realplayer then it worked! Hope this help to someone.

  4. #4
    Registered User
    Join Date
    Mar 2009
    Posts
    14

    Re: Prefetch Error -14 on RTSP streaming after HTTP request on N73

    Hi,
    I am getting similar problem.
    I am able to successfully create() and realize() the player. But while trying to prefetch() the player.
    Media exception is thrown :
    javax.microedition.media.MediaException: Prefetch error: -33


    I tried to make sure that the java settings and streaming settings are same by deleting all other connection access points from my Nokia N95.

    Can you pls. put on some more light on how was it resolved at your end and what was the reason of realize failure on chossing different profiles for java and streaming.

    Thanks,
    Mohit

Similar Threads

  1. Replies: 6
    Last Post: 2008-05-15, 07:55
  2. RTSP video streaming issue on 6280
    By olivier_irac in forum General Development Questions
    Replies: 0
    Last Post: 2006-12-04, 15:11
  3. Problem with rtsp streaming
    By b3orn in forum Mobile Java Media (Graphics & Sounds)
    Replies: 1
    Last Post: 2006-11-03, 18:38
  4. HTTP Request Pipelining
    By shashishaw in forum Symbian Networking & Messaging (Closed)
    Replies: 2
    Last Post: 2006-08-25, 16:24
  5. How can i solve this error?
    By symbian-newbie in forum Symbian
    Replies: 6
    Last Post: 2006-05-23, 05:33

Posting Permissions

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