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

Similar Messages

  • Play Streaming Audio

    I'm busy designing an app to play audio from a link. The audio is being streamed by a Shoutcast server. The link I have been given is 'http://live.rmr.ru.ac.za'. I've got the following code so far:
        // Read sampled audio data from the specified URL and play it
        private void streamSampledAudio(URL url)
            throws IOException, UnsupportedAudioFileException,
                   LineUnavailableException
            ain = null;  // We read audio data from here
            SourceDataLine line = null;   // And write it here.
            try {
                // Get an audio input stream from the URL
                ain=AudioSystem.getAudioInputStream(url);
                // Get information about the format of the stream
                AudioFormat format = ain.getFormat( );
                DataLine.Info info=new DataLine.Info(SourceDataLine.class,format);
                // If the format is not supported directly (i.e. if it is not PCM
                // encoded), then try to transcode it to PCM.
                if (!AudioSystem.isLineSupported(info)) {
                    // This is the PCM format we want to transcode to.
                    // The parameters here are audio format details that you
                    // shouldn't need to understand for casual use.
                    AudioFormat pcm =
                        new AudioFormat(format.getSampleRate( ), 16,
                                        format.getChannels( ), true, false);
                    // Get a wrapper stream around the input stream that does the
                    // transcoding for us.
                    ain = AudioSystem.getAudioInputStream(pcm, ain);
                    // Update the format and info variables for the transcoded data
                    format = ain.getFormat( );
                    info = new DataLine.Info(SourceDataLine.class, format);
                // Open the line through which we'll play the streaming audio.
                line = (SourceDataLine) AudioSystem.getLine(info);
                line.open(format); 
                // Allocate a buffer for reading from the input stream and writing
                // to the line.  Make it large enough to hold 4k audio frames.
                // Note that the SourceDataLine also has its own internal buffer.
                int framesize = format.getFrameSize( );
                byte[] buffer = new byte[4 * 1024 * framesize]; // the buffer
                int numbytes = 0;                               // how many bytes
                // We haven't started the line yet.
                boolean started = false;
                for(;;) {  // We'll exit the loop when we reach the end of stream
                    // First, read some bytes from the input stream.
                    int bytesread=ain.read(buffer,numbytes,buffer.length-numbytes);
                    // If there were no more bytes to read, we're done.
                    if (bytesread == -1) break;
                    numbytes += bytesread;
                    // Now that we've got some audio data to write to the line,
                    // start the line, so it will play that data as we write it.
                    if (!started) {
                        line.start( );
                        started = true;
                    // We must write bytes to the line in an integer multiple of
                    // the framesize.  So figure out how many bytes we'll write.
                    int bytestowrite = (numbytes/framesize)*framesize;
                    // Now write the bytes. The line will buffer them and play
                    // them. This call will block until all bytes are written.
                    line.write(buffer, 0, bytestowrite);
                    // If we didn't have an integer multiple of the frame size,
                    // then copy the remaining bytes to the start of the buffer.
                    int remaining = numbytes - bytestowrite;
                    if (remaining == 0)
                        System.arraycopy(buffer,bytestowrite,buffer,0,remaining);
                    numbytes = remaining;
                // Now block until all buffered sound finishes playing.
                line.drain( );
            finally { // Always relinquish the resources we use
                if (line != null) line.close( );
                if (ain != null) ain.close( );
        }Although I get an UnsupportedAudioFileException when using the link above.
    Please can someone point me in the right direction on how to play streaming audio?

    Please can I refer you to this thread.
    I'm struggling like you can't believe to do something which I thought would be quite simple.

  • 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.

  • Droid Razr Bug.  Won't play streaming audio from websites.

    My Droid Razr won't play streamed audio from a website and won't play .wav files attached to e-mails.  That's annoying.  
    Motorola tech support said problem will be fixed upon next upgrade of Android OS.  
    My phone is currently running Android OS 2.3.5.  
    Does anyone now of a quicker fix?
    Does anyone know when an OS upgrade will be available for the Droid Razr?
    Thx!

    i got the same issue on my ipod. i figured the whole idea of converting the format would solve the issue. never really found out how to solve it. i'll be watching this post to see if anyone has a solve for this issue.

  • HT204387 Can we play streaming audio from one device to other  device using A2DP profile ?

    Hi,
    Can we play streaming audio over two paired device .Please provide help us.
    Thanks
    Santosh

    If the other end supports the following
    http://support.apple.com/kb/HT3647
    you can plug an A2DP receiver into any speakers etc via the aux input
    and play music  from an iPod/iPad/iPhone

  • "Autoplay" doesn't work for playing audio in mobile Safari (iphone)?

    I have 2 problems that would like solve, please help me. The first one is I've noticed that QuickTime doesn't play audio automatically when setting attribute "Autoplay" to true. The second my problem that I need playback audio in background mode, that is without opening Quicktime player window. Below my code how I try doing it...
    <OBJECT ID='ctl05$MPHolder_MediaPlayer' classid='clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B' codebase='http://www.apple.com/qtactivex/qtplugin.cab' height=0 width=0> <PARAM name='src' value='http://kvinelearning.eu/iphone/els/IphoneSoundTest/2.mp3'> <EMBED height=0 width=0 SRC='http://kvinelearning.eu/iphone/els/IphoneSoundTest/2.mp3' controller='false' qtsrc='http://kvinelearning.eu/iphone/els/IphoneSoundTest/2.mp3' autoplay='true' PLUGINSPAGE='www.apple.com/quicktime/download' EnableJavaScript='true' NAME='ctl05$MPHolder_MediaPlayer' /></OBJECT>
    Thanks all in advance and waiting replies.
    Valeriy.

    QuickTimeKirk, thanks a lot for your answer, but I'm interesting in Mobile Safari, not IE, FF or Opera This is these problems appear only for iphone browser, for others ones it works fine, even in Safari for Windows. So, autoplay still doesn't work... And please consult me about quicktime player browser's plugin, I mean why I cannot play sound with javascript function [documetn.getElementById("qtplayer").Play()] without opening sound track in plugin window? I really need playback in background. Or is it feature of quicktime?
    Thank you in advance,
    Valeriy.

  • HT4437 How to stream audio from a Safari web site to Airport Express using Airplay?

    I'm able to stream audio from iTunes to my Airport Express using Airplay, but I can't stream audio from SoundCloud.com or any other system audio (not in iTunes) to the Airport Express. It is my understanding that AirFoil can do the trick but I do not want to spend 25$ if there is another way to do it.
    Thanks in advance.

    Tgara wrote:
    grunta22 wrote:
    I have played around and it's all fixed (not sure what I did and I don't think it was working all along), Tgara, you're right the icon colour has changed to orange for music (but still blue for you tube). 
    Cheers
    Good you got it sorted!
    I was wrong about one thing.   Regardless of how I connect (e.g., wifi or Bluetooth), the Airplay icon in an Apple App turns orange when connected to a device, not blue as I mentioned above.  This is probably why you see blue in the Youtube app.
    OK, I am retracting all my posts about the airplay icon and it's color scheme. 
    Seems as if the airplay icon on the music app is orange, but the airplay icon on the podcast app is blue. There appears to be no rhyme or reason to these color schemes or their significance, so I am abandoning all further speculation. 

  • Bug: OS 4.5 Media Player does not allow BB screen to shut off when playing streaming audio

    I updated my Verizon Pearl 8130 to OS 4.5.  Now, when streaming audio from a station such as "Groove Salad" at http://www.somafm.com, the screen does not shut off but stays on indefinitely, wasting precious battery power.  OS 4.3 Media Player did allow the screen to turn off when streaming audio.
    - Bill

    I have a similar issue since upgrading to to 4.5 with my vzw 8130.   with 4.3 I was able to stream audio and then have it run in the background to read messages or address book for example all the while the audio was still playing.   Now once I get the audio streaming and back out to the main menu the media player quits.

  • Playing streaming audio using Airport

    I have a iMac4 (10.4.11) with an AirPort Extreme (0x14E4, 0x89). I also have an Airport "box", plugged in to the wall, and connected to the back of my stereo. iTunes plays without a hitch through the stereo, but baseball season is coming and I am trying to figure out how to stream audio (not coming through iTunes) via Airport to my stereo. Hope that's not too convoluted!
    Can this be done? Must I resort to fuzzy AM signals?

    This can be done with a low cost utility called Airfoil - see:
    http://www.rogueamoeba.com/airfoil/mac/

  • Firefox V 25.0.1 on an iMac OSX 10.9 will not play streamed audio from a web site. Audio on Safari V7 OK. Any ideas on how to get the Firefox audio to play?

    The audio on the site is in MP3 format. The site is coded in PHP.

    I'm not sure if the current Firefox release is supporting MP3 in an audio or video tag if that is what is used to play this media file.
    *[https://bugzilla.mozilla.org/show_bug.cgi?id=851290 bug 851290] - Use GStreamer on Mac for H.264/MP3/AAC playback (instead of AV Foundation)
    <i>Please do not comment in bug reports: https://bugzilla.mozilla.org/page.cgi?id=etiquette.html</i>

  • Latest release won't play streaming audio

    An interface that many radio stations use for streaming no longer loads in Firefox. IE will play it for me. It finds the station but when the notice "loading media" appears, it never connects and starts the audio in Firefox. Representative link is given below.
    Here's one URL example:
    http://www.999litefm.com/mediaplayer/?station=WLQT-FM&action=listenlive&channel_title=

    You can try to install the new WMP plugin.
    See http://kb.mozillazine.org/Windows_Media_Player#Missing_plugin

  • Pearl won't play streaming audio

    I installed Slacker Mobile radio, and also the app for XM radio, and I couldn't get either one to play the streaming content. How can I fix this?

    You can try to install the new WMP plugin.
    See http://kb.mozillazine.org/Windows_Media_Player#Missing_plugin

  • Play streaming audio from Shoutcast

    Hello,
    I am new to Flex.  I am trying to create a simple desktop app to play a live radio stream from a shoutcast server.  I cannot get it to play.  I am now wondering if it is even possible using the Flex/Air platform.  Here is my code:
    package
    import flash.display.Sprite; 
    import flash.display.StageAlign; 
    import flash.display.StageScaleMode; 
    import org.osmf.elements.AudioElement; 
    import org.osmf.media.MediaPlayerSprite; 
    import org.osmf.net.StreamType; 
    import org.osmf.net.StreamingURLResource; 
    public class StreamingURLResourceExample extends Sprite{
    public function StreamingURLResourceExample(){
    super(); 
    stage.scaleMode = StageScaleMode.NO_SCALE;
    stage.align = StageAlign.TOP_LEFT;
    var mediaPlayerSprite:MediaPlayerSprite = new MediaPlayerSprite(); 
    var audioElement:AudioElement = new AudioElement(); 
    audioElement.resource =
    new StreamingURLResource("http://38.96.148.91:4152", StreamType.LIVE); 
    addChild(mediaPlayerSprite);
    mediaPlayerSprite.media = audioElement;

    In a nutshell reflectors are redirects. Basically, what you see as requests are temporary dummy things and stream is actually coming from different address. Sometimes reflectors are xml files. This is one of the ways companies protect their assets from hacking.
    I cannot find anything on shoutcast that allows access by third party player. I suspect it may not be possible. At least with Flash. Even if you can access currently invoked stream, next time you attempt it - it may fail. Try to stream video from YouTube - you can right after you got the address but after that server is switched and you cannot stream it any longer.

  • [Bug] Playing stream audio from the editor almost always starts from beginning.

    Whenever I am creating a movie clip with an audio layer set to "stream" I usually click certain points of the movie and hit enter to see and hear it. In Flash CC however, it seems about 95% of the time no matter what frame I am on when I hit enter the audio starts from the beginning and is not in sync. There have been a few cases in which the audio started at right frame but I haven't yet been able to isolate the process. Audio works great in the exported SWF, this issue is just just with the editor.

    This bug still hasn't been fixed. I don't recommend Flash for any animator; the issue makes syncing to music and vocals extremely frustrating. This bug has been around for months without solution.
    Running as administrator does not solve the problem.
    You will have the audio bug even if you do not have a Beats Audio Soundcard.
    The longer and more complicated your project, the more frequently the bug happens. When it first begins (around 15-30 seconds worth of frames and about 7 layers) you can make the audio stream as it should by clicking your audio track, setting it to "stop," saving your project, and setting the audio to "stream" again.
    However, when you have about 60 seconds on your timeline, the bug happens a lot more, and you have to actually close the project to get the sound to work again if you do not have the patience to wait for it to fix itself. The wait ranges from 30 seconds to several minutes to never fixed until you close. It's highly unpredicatable. Sometimes it is not enough to close the project, in which case you must quit Flash and start it up again.
    It happens with both mp3 and wav sounds.
    After a month of this bug, I still can't pinpoint what causes it. It's completely random.
    This post suggests it has something to do with scrubbing the timeline. I haven't been able to replicate the bug by doing this. It happens whether or not you use the slider or just click on frames to navigate.
    My system specs:
    Windows 7 Home Premium (Service Pack 1)
    64-bit operating system
    Processor: Intel i5-4670K CPU @3.40 GHz
    RAM: 8 GB
    NVIDIA GeForce GTX 660 Graphics Card
    Audio is also NVIDIA High Definition Audio
    The bug happens even if I plug in headphones to a regular audio port not on the graphics card.
    Other audio types I have are the Intel Display Audio and Realtek High Definition Audio. I've tried messing with audio settings to no avail.

  • I want to play iPad audio through the car stereo. Any suggestions?

    I will need to use an FM transmitter as I don't have an auxiliary input on the stereo.

    you can add an auxiliary audio adapter to almost any vehicle from 1998 and up using the external cd changer controls or satellite controls  car stereo aux input

Maybe you are looking for

  • 3D graph issues in 8.6

      I'm trying to program a simple 3D simulation in LabVIEW and am running into numerous issues with the 3D graphs. 1) An old program I had used the 3D ActiveX graph.  When I load that VI, LV says it could not load the ActiveX control.  I never intenti

  • BPC 7.5 NW -- Allocation Issue -- Good Illustration

    Hi all, I've been struggling with a fundamental issue with the way the Allocation process works on the Netweaver platform.  But, this might be an easy way to illustrate the problem.  This data is typical representative what has been loaded to a test

  • Initial error in call to procedure is cached

    Hi, I'm running Apex 4.1.0.00.32, with Apex Listener 1.1.3.243.11.40 in WebLogic 10.3.3.0. I've noticed that if I run a procedure (/apex/schema.procedure) and the first call is unsuccessful (because of an error in the procedure or lack of privilege),

  • .mov umwandeln, nur welches Format?

    Servus Forum, ich hoffe es verstößt nicht gegen die Regeln wenn ich vom englischen ins deutsche Forum wechsel, aber ich tu mir auch wesentlich leichter so. Ist außerdem quasi ein neues Thema. Ich habe .mov-files erhalten die mit dem leidigen Thema XD

  • Does anyone know the best practices to use Captivates on an Elearning course, please...

    I need to know the best practices to use captivates on an eLearning course, as how much information should it has, etc..