| Reply | « Previous Thread | Next Thread » |
|
Hi,
we are having problem with the stability of the 6680 Player. We use Manager.createPlayer(...) in a way such that our 'player gui' appears only if an Player object is created, realized and prefetched (All previous Players are .closed() + null'ed). Sometimes is plays, sometimes it does not. Typically the first time it plays, and then stuff gets more random. We believe that this is a memory problem, that additional players cannot be created because the previous are not destroyed in time / due to some bug - but have not seen it in the lastest known issues version from Nokia. Sometimes the problem manifests itself as failure/inability to load images. The worst thing about this is that the Player object is created but still does not play - reopening/attempting to work around the problem is therefore difficult!! :( Does anyone else have this problem on the 6680 / the 60 series? We also have a Sony Ericsson K750 and it has no such problems, a Z800 even works with rtsp streaming. Thomas |
|
Yes, this is a bug I've just come across also.
The problem is that "Manager.createPlayer" is being re-used. Get debug messages out and you will see that this call often returns the same object. There is a timing issue where you have a 1st player that you want to close (close call is asynchronous) and then you try to create and start another one (which is the exact same one). So the second one doesn't start and it gets an END-OF-MEDIA (use the playerUpdate listener to see this), and that's why it doesn't start. There is a work around by providing a delay in the appropriate location. You will need to see your debug logs to compare the sequence when it works, against when it doesn't. Hope this help, we are going through the same thing. Carlos. |
| cbazza@poliplus.com |
| View Public Profile |
| Find all posts by cbazza@poliplus.com |
|
Thank you very much Carlos!
So are you telling me that I should wait for the Player.CLOSED state via a while(player.getState != Player.CLOSED) {..}, or just old plain waiting? I'll probably figure this one out now, thanks again! Thomas |
|
Can you please post your solution? thanks!
|
|
We are having a problem with the new Nokia firmware.
We develop Java based software that allow users to see live images of from their surveillance camera on their mobile phone. However, we have discovered that the new firmware in Nokia 3G phones cannot dispaly the images(MJPEG). In previous firmware version( V2.39.140) the images can be displayed. However, new versions I tested (V5.03.08 ) can not display the images. I understand that java does not support MJPEG, but since previous firmware versions can support MJPEG why can't the new firmware also support MJPEG. We thought that firmware were backward compatible therefore, we are surprised that the new 3G phones can't display MJPEG. Any assistance would be greatly appericated.Thank you. |
|
I can't even get video or camera to work on 6680 can you post some code on how to do this?
thanks, |
|
Hi,
we only use standard 3gpp video+canvas - any example should be sufficient. If you get exceptions there is probably something wrong with the video file. For instance, when the resolution is not an even number (or a multiple of 8) we have experienced problems. Note that 3gpp is not supported on at least my S60 emulator, but that it is on the real device. My current 'workaround' for fixing the problem of a player that does not start like described above should make and decent Nokia engineer ashamed. It is to create a player that fails twice (try+catch - use an invalid protocol for instance) per resource. This gives me 4-5 successfull players before the whole things is back to dummy Player objects. Using the Player @address does not work that well because even the first player object is sometimes corrupted. Thomas
Last edited by skjolber : 2005-10-15 at 00:37.
Reason: Added comment
|
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| Video Playback by a DLL??? | vivekuv | General Symbian C++ | 0 | 2004-10-07 15:46 |
| MMAPI: video playback | enough | Mobile Java Media (Graphics & Sounds) | 7 | 2003-08-27 12:03 |
| 3650 Video playback problems | satchmobu | Mobile Java General | 3 | 2003-07-02 11:17 |
| MMAPI: video playback | enough | Mobile Java Tools & SDKs | 0 | 2003-06-25 18:57 |
| video playback from memorycard with fullscreen (nim - format)?? | chris.dah | Mobile Java General | 0 | 2003-04-16 11:18 |