| Reply | « Previous Thread | Next Thread » |
|
Soemtimes when setting up a video stream (using MMAPI on Nokia N80) I get a prefetch error:
javax.microedition.media.MediaException: Prefetch error: - 34 Other times it works. So... 1) What does error 34 actually mean? I can't find anything about '34' anywhere 2) How can I avoid it? 3) if I can't avoid this error, what's the best way to transparently handle it? Just try prefetching again? thanks! Alex |
|
Hi,
I currently working on a similar problems. My finding is that some streams work and some dont. I have discovered distance is a problem. If you a close to a stream like less than 3000 miles 4500Km you cannot stream, but some one 12,000 miles away can. We have all said "How weird?" many times. I am trying the write a rtsp stream analyser to see if this will resolve the problem. I have noticed that if you define the stream name in the Gallery media stream and open the stream by using Real Player directly in firmware the stream works so it appears to be something in J2ME. I have upgraded to WTK 2.5 as some said this is the problem but no difference and Carbide.J 1.5 S60 just hangs instead of handling the exception!. I am currently installing Darwin Streaming Server locally in attempt to find the problem. This is no doubt techinically challenging problem as depending on what part of the world,Malaysia, London,Uk or West Coast, USA you live in depends which stream you can use. BTW The streams are LiveTV that streams via 3G (UTMS). I need some luck here, Jim
Last edited by jimgilmour1 : 2006-12-08 at 12:34.
|
| jimgilmour1 |
| View Public Profile |
| Find all posts by jimgilmour1 |
|
Hi,
Finally found how to interpret these errors. The error code is listed in the Symbian C++ S60 Error codes list on the Symbian Error page. Prefetch -34 is "KErrCouldNotConnect -34 Failed to connect" Some sort of failure for you stream to conect to server. Not really suprising as connect timeout occurs quite regular on internet. PHP Code:
This fine on Live TV streams but not much use for static streams video as you cant restart at the point connection was lost. Sorry but no simple answer then. Jim |
| jimgilmour1 |
| View Public Profile |
| Find all posts by jimgilmour1 |
|
Thanks for your reply Jim - that's very helpful info!
Distance being a factor in streaming video is quite weird - I suppose that implies latency is an issue? Well done on locating the meaning of the prefetch error -34! In case it helps others, I found the error list here: http://www.newlc.com/article.php3?id_article=117 I'll add to this thread if I dig up any more useful info. |
|
Btw Jim I was thinking about that distance thing and it just seems so weird! Are you absolutely sure that the distance is the only variable? i.e. is an identical stream you're trying, in both places, with distance being the only change? I know some streams work better than others, but that's more down to differences in the encoding and if the N80 likes them....
|
|
Hi,
Finally found the answer the firmware needs upgrading using the Nokia update site at http://www.nokia.co.uk/A4226014 This cures all currently know bugs with video streaming for N73,N80 etc. Jim |
| jimgilmour1 |
| View Public Profile |
| Find all posts by jimgilmour1 |
|
-Praveen Saini Catalytic Software praveen.saini@catalytic.com |
| praveen.saini |
| View Public Profile |
| Find all posts by praveen.saini |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| MediaException when prefetch or play an amr file of 6230i | qiu_swing | Mobile Java Media (Graphics & Sounds) | 3 | 2006-09-27 18:21 |
| Failed to Prefetch | aztec30 | Mobile Java Media (Graphics & Sounds) | 2 | 2006-09-25 18:50 |
| how to decrease prefetch time??? | desijatt | Mobile Java Media (Graphics & Sounds) | 3 | 2006-09-15 18:54 |
| prefetch() crashes | testerm | Mobile Java Media (Graphics & Sounds) | 1 | 2005-01-18 02:29 |
| takes to long to prefetch | alperay | Mobile Java General | 1 | 2004-07-31 00:17 |