×

Discussion Board

Results 1 to 12 of 12

Thread: RTP in J2ME

  1. #1
    Regular Contributor
    Join Date
    Mar 2008
    Posts
    76

    RTP in J2ME

    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

  2. #2
    Nokia Developer Champion
    Join Date
    Nov 2007
    Location
    Rome, Italy
    Posts
    2,405

    Re: RTP in J2ME

    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

  3. #3
    Regular Contributor
    Join Date
    Mar 2008
    Posts
    76

    Re: RTP in J2ME

    I checked it & showed me
    http
    file
    device
    capture

  4. #4
    Nokia Developer Champion
    Join Date
    Nov 2007
    Location
    Rome, Italy
    Posts
    2,405

    Re: RTP in J2ME

    So, on the device you tested RTSP is not supported

    Pit

  5. #5
    Regular Contributor
    Join Date
    Mar 2008
    Posts
    76

    Re: RTP in J2ME

    Is there anyone who can give me update information about RTP in J2ME?

    BR
    Javed

  6. #6
    Nokia Developer Champion
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192

    Re: RTP in J2ME

    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

  7. #7
    Regular Contributor
    Join Date
    Mar 2008
    Posts
    76

    Re: RTP in J2ME

    @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

  8. #8
    Nokia Developer Champion
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192

    Re: RTP in J2ME

    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

  9. #9
    Regular Contributor
    Join Date
    Mar 2008
    Posts
    76

    Re: RTP in J2ME

    @Harrti
    I got information about talkonaut.They did it through CallBack technique of Java. Have you any idea on it?

  10. #10
    Registered User
    Join Date
    Feb 2007
    Posts
    3

    Re: RTP in J2ME

    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

  11. #11
    Nokia Developer Champion
    Join Date
    Apr 2007
    Posts
    2,708

    Re: RTP in J2ME

    hehe, well this was a year old post :P

  12. #12
    Registered User
    Join Date
    Nov 2009
    Posts
    17

    Re: RTP in J2ME

    Hi:

    Check out mmapi.

    http://developers.sun.com/mobility/m...mmapioverview/

    Regards
    Guillermo

Similar Threads

  1. suckho, i have encontered the same problems. Could you tell me how you resolved it?
    By dicson_hu in forum Symbian Networking & Messaging (Closed)
    Replies: 4
    Last Post: 2005-12-09, 10:56
  2. GPRS connection problems on 6600..
    By suckho in forum Symbian Networking & Messaging (Closed)
    Replies: 10
    Last Post: 2005-12-02, 14:00
  3. Nokia 6600 Socket Server send delay Problem
    By dicson_hu in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2005-10-31, 07:37
  4. J2ME: how to creating an inputstream from a rtp protocol?
    By KhinBoon in forum Streaming and Video
    Replies: 0
    Last Post: 2005-02-14, 08:18

Posting Permissions

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