You Are Here:

Community: Developer Discussion Boards

#1 Old RTP in J2ME - 2008-04-21, 11:35

Join Date: Mar 2008
Posts: 76
Send a message via MSN to Aliencse
Aliencse's Avatar
Aliencse
Offline
Regular Contributor
Hi All
Is it possible to implement RTP in J2ME?.Is it possible to send and receive RTP packet in real time? Is there anyway to transfer JMF in J2ME?

BR
Javed
Reply With Quote

#2 Old Re: RTP in J2ME - 2008-04-21, 12:05

Join Date: Nov 2007
Posts: 2,029
Location: Rome, Italy
Send a message via MSN to jappit Send a message via Skype™ to jappit
jappit's Avatar
jappit
Offline
Forum Nokia Champion
Hi Javed,

you can use RTSP protocol to do streaming, using MMAPIs (http://java.sun.com/products/mmapi/), only on phones that support this protocol (like S60 from 2nd Edition Feature Pack 3 onwards)

To check if a phone supports it, you can use Manager getSupportedProtocols() method.

Regards,
Pit


www.jappit.com - mobile and web blog
Reply With Quote

#3 Old Re: RTP in J2ME - 2008-04-21, 12:57

Join Date: Mar 2008
Posts: 76
Send a message via MSN to Aliencse
Aliencse's Avatar
Aliencse
Offline
Regular Contributor
I checked it & showed me
http
file
device
capture
Reply With Quote

#4 Old Re: RTP in J2ME - 2008-04-21, 13:03

Join Date: Nov 2007
Posts: 2,029
Location: Rome, Italy
Send a message via MSN to jappit Send a message via Skype™ to jappit
jappit's Avatar
jappit
Offline
Forum Nokia Champion
So, on the device you tested RTSP is not supported :)

Pit


www.jappit.com - mobile and web blog
Reply With Quote

#5 Old Re: RTP in J2ME - 2008-04-22, 06:39

Join Date: Mar 2008
Posts: 76
Send a message via MSN to Aliencse
Aliencse's Avatar
Aliencse
Offline
Regular Contributor
Is there anyone who can give me update information about RTP in J2ME?

BR
Javed
Reply With Quote

#6 Old Re: RTP in J2ME - 2008-04-22, 18:13

Join Date: Apr 2003
Posts: 6,408
Location: USA, CA
hartti's Avatar
hartti
Offline
Nokia Expert
RTP is not support on Nokia's devices from MIDlets. New devices support RTSP streaming though (S60 2nd Ed FP3 -> and Series 40 3rd Edition FP2 ->)

You could likely implement RTP protocol over TCP or UDP also using Java ME, but I do not know if would do you any good.

Hartti
Reply With Quote

#7 Old Re: RTP in J2ME - 2008-04-25, 14:38

Join Date: Mar 2008
Posts: 76
Send a message via MSN to Aliencse
Aliencse's Avatar
Aliencse
Offline
Regular Contributor
@Hartti Thanks for your reply

My issues are as...........................

1. Actually I mean using record control (JSR 135) to record audio and send it to another client. I realize that until I make commit in record control I can't access to recorded bytes.
Is there any way to get these bytes without stopping the recording?
Please see in JMF how this is done
http://snippets.dzone.com/user/irla/tag/java
But in J2ME how it can be done?


2. As far as i know that talkonaut( http://www.talkonaut.com/home.shtml) is also done by J2ME. How did they complete the realtime Audio part??????


Regards
Javed
Reply With Quote

#8 Old Re: RTP in J2ME - 2008-04-25, 16:01

Join Date: Apr 2003
Posts: 6,408
Location: USA, CA
hartti's Avatar
hartti
Offline
Nokia Expert
1) Unfortunately no.

2) Do not know, I have not used the app so I do not even know how streamlined and interactive the Java version is.

Hartti
Reply With Quote

#9 Old Re: RTP in J2ME - 2008-04-26, 07:06

Join Date: Mar 2008
Posts: 76
Send a message via MSN to Aliencse
Aliencse's Avatar
Aliencse
Offline
Regular Contributor
@Harrti
I got information about talkonaut.They did it through CallBack technique of Java. Have you any idea on it?
Reply With Quote

#10 Old Re: RTP in J2ME - 2009-05-27, 13:37

Join Date: Feb 2007
Posts: 3
mfggrilli
Offline
Registered User
I think with callback they mean having a native part in C++ and calling from Java or so. I have heared that a couple of times in different forums already.

Fact is that J2ME does not support RTP streaming from the phone to any other target. And it is also right, that the MMAPI is not able to access the bytes before stopping the recorder. I think this is due to the implementation - because it also uses CallBacks to native (C++) methods to access the microphone.

I think at the beginning having no RTP in J2ME was decided due to the fact that the mobiles were not computational powerful enought to handle coding and decoding while accessing microphone and cam to get the audio and video. So real time streaming would not have been possible.

But with new phones such as E75 and N97 there should be not computational performance problem, so I hope it will be taken from the JMF to MMAPI(next Version)!! Or maybe Nokia goes it's own way in providing it to developers??

best,
Christian
Reply With Quote

#11 Old Re: RTP in J2ME - 2009-05-27, 15:34

Join Date: Apr 2007
Posts: 1,757
Tiger79's Avatar
Tiger79
Offline
Forum Nokia Champion
hehe, well this was a year old post :P
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
suckho, i have encontered the same problems. Could you tell me how you resolved it? dicson_hu Symbian Networking & Messaging 4 2005-12-09 11:56
GPRS connection problems on 6600.. suckho Symbian Networking & Messaging 10 2005-12-02 15:00
6600 gprs 发送大量rtp延时问题 dicson_hu Symbian 9 2005-11-04 03:12
Nokia 6600 Socket Server send delay Problem dicson_hu Mobile Java Networking & Messaging & Security 1 2005-10-31 08:37
J2ME: how to creating an inputstream from a rtp protocol? KhinBoon Streaming and Video 0 2005-02-14 09:18

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: qdcZidentifierQSxhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomE2fforumE2fshowthreadE2ephpE3ftE3d18645X 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