You Are Here:

Community: Developer Discussion Boards

Reply « Previous Thread | Next Thread »

#1 Old j2me video - 2006-12-11, 15:40

Join Date: Dec 2006
Posts: 17
tjay83
Offline
Registered User
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
Reply With Quote

#2 Old Re: j2me video - 2006-12-11, 17:41

Join Date: Nov 2003
Posts: 3,641
Location: Bangalore , India
Send a message via Yahoo to balagopalks
balagopalks's Avatar
balagopalks
Offline
Forum Nokia Expert
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.
Reply With Quote

#3 Old Re: j2me video - 2006-12-12, 14:56

Join Date: Dec 2006
Posts: 17
tjay83
Offline
Registered User
Thanks a lot.I will look at the links that you posted
Reply With Quote

#4 Old Re: j2me video - 2006-12-12, 15:05

Join Date: Dec 2006
Posts: 17
tjay83
Offline
Registered User
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/
Reply With Quote

#5 Old Re: j2me video - 2006-12-12, 19:04

Join Date: Apr 2003
Posts: 6,408
Location: USA, CA
hartti's Avatar
hartti
Offline
Nokia Expert
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
Reply With Quote

#6 Old Re: j2me video - 2006-12-13, 09:49

Join Date: Dec 2006
Posts: 17
tjay83
Offline
Registered User
thanks a lot hartti
Reply With Quote

#7 Old Re: j2me video - 2006-12-13, 10:02

Join Date: Dec 2006
Posts: 17
tjay83
Offline
Registered User
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.
Reply With Quote

#8 Old Re: j2me video - 2006-12-13, 17:48

Join Date: Apr 2003
Posts: 6,408
Location: USA, CA
hartti's Avatar
hartti
Offline
Nokia Expert
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
Reply With Quote

#9 Old Re: j2me video - 2006-12-13, 20:29

Join Date: Dec 2006
Posts: 17
tjay83
Offline
Registered User
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
Reply With Quote

#10 Old Re: j2me video - 2006-12-13, 20:37

Join Date: Apr 2003
Posts: 6,408
Location: USA, CA
hartti's Avatar
hartti
Offline
Nokia Expert
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
Reply With Quote

#11 Old Re: j2me video - 2006-12-13, 21:47

Join Date: Dec 2006
Posts: 17
tjay83
Offline
Registered User
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
Reply With Quote

#12 Old Re: j2me video - 2006-12-14, 02:43

Join Date: Apr 2003
Posts: 6,408
Location: USA, CA
hartti's Avatar
hartti
Offline
Nokia Expert
(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
Reply With Quote

#13 Old Re: j2me video - 2006-12-14, 09:24

Join Date: Dec 2006
Posts: 17
tjay83
Offline
Registered User
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.........................
Reply With Quote

#14 Old Re: j2me video - 2006-12-14, 20:25

Join Date: Apr 2003
Posts: 6,408
Location: USA, CA
hartti's Avatar
hartti
Offline
Nokia Expert
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
Reply With Quote

#15 Old Re: j2me video - 2006-12-14, 23:20

Join Date: Dec 2006
Posts: 17
tjay83
Offline
Registered User
thanks a lot for your help Hartti.....
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

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

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
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

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia 
RDF Facets: qdcZidentifierQSxhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomE2fforumE2fshowthreadE2ephpE3ftE3d134434X qdcZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qdcZtypeQUqfntypeZCommunityContentQ qdcZtypeQUqfntypeZE44iscussionQ qdcZtypeQUqfntypeZE44iscussionContentQ qdcZtypeQUqfntypeZE52esourceQ qdcZtypeQUqfntypeZWebpageQ qdcZtypeQUqmarsZManagedE52esourceQ qdcZtypeQUqwebZInformationE52esourceQ qdcZtypeQUqwebZPageQ qdcZtypeQUqwebZE52esourceQ qdcZtypeQUqrdfsZE52esourceQ qfnZtopicQUqfnTopicZentertainmentQ qfnZtopicQUqfnTopicZj2meQ qfnZtopicQUqfnTopicZjavaQ qfnZtopicQUqfnTopicZmediaQ qfnZtypeQUqfntypeZCommunityContentQ qfnZtypeQUqfntypeZE44iscussionQ qfnZtypeQUqfntypeZE44iscussionContentQ qfnZtypeQUqfntypeZE52esourceQ qfnZtypeQUqfntypeZWebpageQ qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX qrdfZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qrdfZtypeQUqfntypeZCommunityContentQ qrdfZtypeQUqfntypeZE44iscussionQ qrdfZtypeQUqfntypeZE44iscussionContentQ qrdfZtypeQUqfntypeZE52esourceQ qrdfZtypeQUqfntypeZWebpageQ qrdfZtypeQUqmarsZManagedE52esourceQ qrdfZtypeQUqwebZInformationE52esourceQ qrdfZtypeQUqwebZPageQ qrdfZtypeQUqwebZE52esourceQ qrdfZtypeQUqrdfsZE52esourceQ