| Reply | « Previous Thread | Next Thread » |
|
hello everyone
I have the link of the online camera of the streets and roads. How can I play this in J2ME code ? Any suggestions. Thanks |
|
Hi tjay83! Welcome to Nokia Discussion Boards!! :)
May be you could try with RTSP. Real Time Streaming Protocol (RTSP) is supported on S603rd Edition devices with MMAPI. Here are some similar discussion which would be of some interest to you! http://discussion.forum.nokia.com/fo...highlight=rtsp http://discussion.forum.nokia.com/fo...ad.php?t=93215 Regards Gopal __________________ MobiQuil.com An initiative by Developers for Developers. http://www.mobiquil.com - Alpha - Launched. |
|
Thanks a lot.I will look at the links that you posted
|
|
I found sample code for playing audio and video.I played the audio file from the url specified successfully.However
I couldnt manage to play the video?Is it necessary to use rtsp protocol instead of http for playing videos? here is the link that I got the code: http://developers.sun.com/techtopics...mmapioverview/ |
|
If you want to stream video from Internet, you need to use rtsp. Otherwise the video is downloaded first completely before it is played.
Hartti |
|
thanks a lot hartti
|
|
Hi Hartti When I compiled the code you posted before I encountered an error like:
Exception: javax.microedition.media.MediaException: Player cannot be created for rtsp://ra.yle.fi/yle24/video/uusin_mobile.rm help please
Last edited by tjay83 : 2006-12-13 at 10:50.
|
|
You get this error message when you are trying to run the app, right?
Which phone are you using? RTSP streaming through Java is not supported on all devices. Hartti |
|
Yes I get this error message when you are trying to run the app.
I am using nokia emulator to test your code.Do I need to install anything else inoder to use rtsp protocol? Thanks hartti |
|
Which phone are you using? RTSP streaming through Java is not supported on all devices and you cannot add that support later.
S60 3rd edition devices support that Hartti |
|
I didnt test the code in the mobile.I run the code in the computer using netbeans ide with nokia emulator. and I encounter the error that I specified before.
Thanks Hartti |
|
(Mental note to myself: try to read the responses before answering :-)
I should have seen that you are using emulator already from your previous email. Sorry for that... Which emulator are you using? S60 3rd Edition? (I have not tested RTSP in emulator, so I cannot say for sure it works there) Hartti |
|
It is okey Hartty.
Well I use sony-ericsson_k600_emulator... Now I will test it in the phone.However I dont understand the usage of rtsp protocol that you posted... (rtsp://ra.yle.fi/yle24/video/uusin_mobile.rm) what is (ra.yle.fi/yle24/video/uusin_mobile.rm) ??? and how can I write url inside rtsp? Thanks a lot for your help Hartty......................... |
|
I have no idea if Sony-Ericsson emulators support rtsp, sorry.
"ra.yle.fi/yle24/video/uusin_mobile.rm" is the URL to connect to and "rtsp://" in front of it tells that the phone should connect to the URL using RTSP protocol. Note, that the URL in question points to a recorded news show in Finnish TV. I used that URL as I know the video works on mobile devices. Hartti |
|
thanks a lot for your help Hartti.....
|
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| Video streaming in j2me and downloads | vikramb_mca | Mobile Java General | 16 | 2009-07-02 19:01 |
| J2ME: Ways to play video in Landscape? Launch RealPlayer? | redlex | Mobile Java Media (Graphics & Sounds) | 4 | 2009-01-04 18:31 |
| screensaver appears over J2ME video | redlex | Mobile Java Media (Graphics & Sounds) | 1 | 2006-12-02 10:52 |
| video capture...in j2me | shalini.mishra | Streaming and Video | 1 | 2006-11-18 02:46 |
| J2ME fullscreen video or launch realplayer | anish_t | Mobile Java Media (Graphics & Sounds) | 2 | 2006-06-20 06:43 |