Is it possible to stream audio to mobiles over RTP

I am researching streaming audio to mobile phones. To set the context - a scenario would be the sending of a wav file arising from text-to-speech conversion being streamed to a specific mobile phone engaged in the dialogue. Using the MMAPI I have created a Player and can play wav files using the Manager.createrPlayer("http://blah:8080/test.wav"). My understanding is that http based on tcp is not suitable for streaming. Far better to use RTP over UDP. I have done this for desktop clients. However, my question is can i use the RTP protocol to stream wav files to mobile devices. I think the answer is no since it is not a supported protocol as identified by the Manager.getSupportedProtocols("audio/x-wav") method. The supported protocols returned are http and capture. Neither does it work in my dummy test. I get the following error if i try to create the player with an rtp protocol spec in the media locator, as in Manager.createPlayer("rtp://192.9.206.164:49150/audio");:
javax.microedition.media.MediaException: Cannot create a DataSource for: rtp://192.9.206.164:49150/audio
     at javax.microedition.media.Manager.createDataSource(+92)
     at javax.microedition.media.Manager.createPlayer(+93)
     at MobileClient$ConnectionManager.run(+110)
Comments most welcome please.

that protocol is not requiered to be implemented by Sun's j2me specification. So it's up to the vendor whether he implements it or not. My expierence shows, that most vendors just implement the minimum requierements and don't spend any more dollar on anything not requiered.
Since not even a socket connection is requiered to be implemented, you not even get the chance to implement an own 'transmission' protocol that might fit your needs.
So you're only chance will be if a vendor decides to implement any device specific api.

Similar Messages

  • HT4437 Is it possible to stream audio from a non-Itunes program on a computer (say, a website, Youtube, etc...) to Airplay speakers?

    Is it possible to stream audio from a non-Itunes program on a computer (say, a website, Youtube, etc...) to Airplay speakers?

    When you set up the new Mac, you can use Migration Assistant to transfer both from your iMac and your external drives.  You can also use Target Disk Mode to drag over the things you want.

  • Want to play streaming audio (*.rm), Mobile Safari won't.

    World's most boring use: listening to archived streaming audio of Maryland legislators. They use RealAudio.
    Tried Safari, won't play it (it downloads the *.ram file to DropBox).
    If  iTunes plays them I have no idea how to specify that.
    They also use Silverlight video streaming, which as I understand it is not something you can see on an iPad.

    http://mlis.state.md.us/2012RS/hearsch/committee-hearings-index.htm --
    gives you Senate or House choices. Here's the Senate page:
    http://mlis.state.md.us/mgaweb/senatecmtaudio.aspx

  • Synchronize audio and video over RTP

    Hi all,
    I am new in jmf. Please any one tell me, how to synchronize audio and video streams, when we capture thru audio and video capture devices and send it over network thru rtp protocol and receive at client side. How to syncnronize at client side? Please send me reply if any one have solution in jmf.
    Thanks in advance.

    Does anyone know about how this is done? I'm doing a videoconference thing with jmf, QoS is a required componenet! So if anyone knows about how this is done, plz share with discussion! All I know so far is that I can buffer the incoming streams to some extend then call syncStart() to start the video with the starting time of the video!

  • Stream Audio From iPhone 3GS To MacBook Pro

    Is it possible to stream audio from an iPhone 3GS (playing in the iPod app) to a MacBook Pro over Bluetooth, so that the music plays through the MacBook's internal speakers?
    Obviously you could just connect the headphone socket of the iPhone 3GS to the line in socket of the MacBook Pro, but doing it over Bluetooth would be much tidier.

    There is a way with WiFi, but you need to "Modify" your iPhone to do it.

  • Streaming audio. Is it really?

    Hi All,
    I want to listen a streaming audio via mobile phone. Is it really? What kind of protocols I must select? Currently I want to use a ASF (ASX) format.
    Sun's developers is it really?

    What about this?
    Playing MP3 files from your server on J2ME devices
    http://www.java-tips.org/content/view/153/39/

  • Record audio on mobile desktop

    i try to record audio on mobile sessions on the sun rays. i hear things correctly when i swich on monitor (shift+props or sdtaudiocontrol), but it seems that no data is transfered from the ray to the server! -> $AUDIODEV outputs just nothing.
    is it maybe not possible to record audio, if mobile sessions are used? playing audio works very well...

    Please check the response in this post - Edge Animate and iPhone 4?. Let us know if that helps, otherwise you can share the sample with us, we can take a look.
    Also, we have released a new patch yesterday which contains many critical fixes. More details here - Edge Animate 2014.1.1 is now live
    -Dharmendra

  • Stream audio from a source

    Hi,
    I was wondering if it were possible to stream audio from an internet radio station. Can anyone point me in the right direction?
    Many thanks in advance!

    I found this: http://techtips.salon.com/use-iphone-webcam-3623.html
    I would suggest the use of an analog capture card, like a Dazzle, and the official Apple Composite video cable. I'm not sure if it would work, but the systematics would be (Output) (phone)—(Input)-Output (capture card)—Input (your PC)
    I can't verify this, maybe if I get the Apple AV cable I can, since I have everything else.

  • Streaming audio into itunes?

    Quick question...
    Is it possible to stream audio into itunes using the headphone jack on my ibook for the purpose of playing other audio sources (not mp3s/CDs) wirelessly to airport express?
    Or, is there any third-party software that has the capability of streaming audio-in through the headphone jack and then out to airport extreme?
    Any help would be much appreciated!

    rengic, Welcome to the discussion area!
    That is not possible. The headphone jack on your iBook is audio OUT only.
    To get audio into your iBook, you will need to use a USB audio input device like the iMic.

  • Streaming Audio via Datasocket

    Hei,
    This is not a problem I'm having but rather a research. I'm currently researching a possibility of streaming audio using a DataSocket solution. 
    Has anyone already tried it, are there any pitfalls i should be aware of?   Or is there a better solution?

    Thanks man,
    I got it to work again!
    Basically, Like you said deleted both devices from each others pairing...
    and restarted the Iphone, then re paired the 2 devices and got it to work again.
    Not exactly sure what happened in this updated that triggered this, but if anyone is having this issue.
    try those steps to fix it.

  • Streaming audio apps don't work after 10.1

    Since updating my Z10 and my wife's Z10 to 10.1 on Telus none of the streaming audio apps work over LTE or HSPA+. Songza, 8tracks, slacker and nobex all stop playing music after a couple of minutes unless I tell them to play again. Help please.
    Solved!
    Go to Solution.

    is your Z10 SIM-locked? If no, can you try with a SIM card not from Telus?
    Maybe you can also give Telus a call and ask them about the streaming. Do they allow it?
    The search box on top-right of this page is your true friend, and the public Knowledge Base too:

  • Streaming audio-video on the mobile device

    Please, I must do the streaming audio-video on the mobile device using a server standard.
    I must to program the application for the server using j2se:in this case how i can send the file audio/video?This file have specifies classes?
    For the client i must using the j2me:in this case how can receive the file audio and creating the player?
    Thanks.

    Hi, please help,
    I have problem in this area also,
    am intending to stream audio and video data to mobile phone using j2me for my bs project.,
    is that true, midlets can only 'plays back' one file at time specified by url?
    I want to store many files in database( e.g ms access), and call them to midlets, to make some how interactive and real,because i have tomcat server installed in my pc.
    is this possible?
    How can i call file stored beyond path of WTK ?
    can i store audio/ video file in ms- access?
    Please, please help !
    thanks in advance.
    Message was edited by:
    nbkamani

  • Audio stream PC to Mobile

    Hi, I'm looking for an application to stream audio from PC to mobile (I've a Nokia 5310) via bluetooth.
    I found some stuff online but not quite what I'm looking for.
    I'd like to setup my pc like a radio station broadcasting within my home and listen to these sort of radio programs using the phone and its headphone set. I'm looking for an application able to get the audio signal as close as possible to the PC-line-out or anyway a solution working regardless of what I'm playing on my PC (e.g. an MP3 from my hard-drive or a internet radio stream) and of which application I'm using to play it. Who has a solution/tip for me?
    Thank you

    now I am able to play the stream (with some delay),
    while(inputStream.read(buf)!=-1) {
                        try {
                            ByteArrayInputStream recordedInputStream = new ByteArrayInputStream(buf);
                            play2 = Manager.createPlayer(recordedInputStream, "audio/x-wav");
                            System.out.println("Playback player created...");
                            play2.prefetch();
                            System.out.println("Playback player prefetched...");
                            play2.realize();
                            System.out.println("Playback player realized...");
                            play2.start();
                            System.out.println("Playback player started...");
                        } catch (MediaException ex) {
                            ex.printStackTrace();
                        } catch(Exception e) {
                            e.printStackTrace();
                        }But, the problem is , I have to play the audio, as well as capture the audio to create the duplex communication.
    Is it possible to do the audio capture and playback simultaneously? If it is not possible, pl suggest an idea to achieve this.
    null

  • I want to be able to use airplay to stream audio to another iOS device, and then use that audio stream to be used when recording video instead of the built in microphone / microphone input. Is this possible?

    I want to be able to use airplay to stream audio to another iOS device, and then use that audio stream to be used when recording video instead of the built in microphone / microphone input. Is this possible?

    A third-party app probably cannot obtain a stream from another app. To the best of my knowledge, such a capability is not provided in the software development kit, apps being "sandboxed" from each other and so allowed to communicate only in very specific and limited ways.
    I'm not completely sure what you mean by "limitations on video capture". An iPhone, to the best of my knowledge, can natively record video only through it's built-in camera, and audio while doing video recording only through the built-in microphone or mic/headphone jack. There might be a video recording app that would allow audio input from an external device connected to the dock connector, but I'm not sure.
    Regards.

  • Streaming audio to video UI component, any ways possible?

    I'm looking into streaming audio from online radio sources our locally to the video component in interface builder, but I'm sure where to start. Any suggestions?

    for a more generic approach -- since mpd requires you to put the media on the server and only plays certain defined filed types -- pulseaudio might be interesting, or even dlna/upnp? that last one for sure would be the most cross-platform solution. then each client could decide for itself which kind of audio to pass to the hub, be it mpd, radio, youtube etc.
    interesing experiment you're doing here btw, i think more people will be interested in using a single small device that routes all their network audio to a stereo.
    p.s., in case you want to stick to the classic mpd setup, there are windows clients available incluing a handy firefox plugin:
    http://mpd.wikia.com/wiki/Windows_Compatibility
    http://mpd.wikia.com/wiki/Clients

Maybe you are looking for