×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Jul 2006
    Posts
    2

    Streaming Video and Audio using RTP

    Hi,

    I have several Nokia clients that I need to stream to using RTP/UDP. The codec should be h.263/amr. My problem is that I need to develop some testing framework on the server side for the streaming. I need java code that can read audio/video .3gp file and send it in RTP/UDP/RAW. I know how to do it using JMF, but it cannot be multithreaded, so I need another solution.
    Can anyone help me ? do you know any java API that can help ? any sample code ?

    Thanks in advance, any help will do,
    Em161100.

  2. #2
    Registered User
    Join Date
    Aug 2006
    Posts
    3

    Re: Streaming Video and Audio using RTP

    i have same problem with you.
    but i just need for receiving data from streaming server.
    Can anyone help me ? or where i can get the sample code?please...

  3. #3
    Super Contributor
    Join Date
    Dec 2005
    Location
    Europe/Poland/Warsaw
    Posts
    1,697

    Re: Streaming Video and Audio using RTP

    hi xanderos,
    welcome aboard!

    if you have a phone which supports streaming just use Mobile Media API to create payer/controls/etc,
    for example download Java Developers Library Nokia doc:
    http://www.forum.nokia.com/main/reso...rs_library.htm
    and follow MMAPI docs/comments,
    RTSP player can be created by using the Manager.createPlayer method with the locator starting "rtsp://".
    HTTP streaming player is created using the Manager.createPlayer method with the locator starting "http://".
    that means that simply take any sample for MMAPI and modify urls connections to meet your resources,

    hth
    regards,
    Peter

  4. #4
    Registered User
    Join Date
    Aug 2006
    Posts
    3

    Re: Streaming Video and Audio using RTP

    hi peter,
    thanks for your ansmer.

    i have try it, but stil can receive video stream. i have build my own server
    using JMF. i think, i need DataSource class to handle rtp packet but i don't know
    to costumize DataSource class.is there any reference that i can read, or some code example?

    Thanks in advance

  5. #5
    Registered User
    Join Date
    Aug 2006
    Posts
    3

    Re: Streaming Video and Audio using RTP

    hi.

    i have try to costumize DataSource for receiving RTP packets
    but i have some error

    error message:
    C:\WTK23\apps\MCG\src\RTPDataSource.java:7: DataSource(java.lang.String) in javax.microedition.media.protocol.DataSource cannot be applied to ()

    what's happen with my source, please some body help me???
    sorry if i ask to much, i'm newbie in j2me

    thanx

Similar Threads

  1. Video files with mp3 audio
    By elzhov in forum Symbian Media (Closed)
    Replies: 2
    Last Post: 2008-05-28, 13:52
  2. Video with audio recording delay problem on N90
    By vasya0 in forum Symbian Media (Closed)
    Replies: 2
    Last Post: 2007-12-03, 16:44
  3. Mixing Audio and Video
    By dchiaramello in forum Symbian Media (Closed)
    Replies: 7
    Last Post: 2005-11-18, 12:44
  4. Streaming AAC Audio possible?
    By tknerr in forum Streaming and Video
    Replies: 0
    Last Post: 2005-07-23, 12:13
  5. Video and Audio not in synch on 6820
    By larry_ger in forum Streaming and Video
    Replies: 3
    Last Post: 2004-08-09, 07:58

Posting Permissions

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