Pause Streaming Audio

I'm trying to pause streaming audio with a "pause" button.
However, when I click the "play" button, the audio begins a few
seconds after where it stopped.
My theory is that the "pause" button isn't recording where
the audio stopped playing; it's actually recording where the audio
stopped loading. So if ten seconds of audio has played, but twenty
seconds of audio has loaded, the "pause" button will record the
pause position as twenty seconds, and the play button will start
the audio at twenty seconds.
Does that sound like a reasonable theory? Does anyone know
how this might be fixed?
Here's my code:

Looks like my theory was wrong! When I hit the "pause"
button, it records a number that corresponds to a point in the
audio stream, but that number does not correspond to the point at
which the audio stream was paused -- it's somewhere between two to
five seconds later. I have no explanation as to why this is!
So I guess my revised question is: has *anyone* been able to
get the "pause" and "play" buttons to work properly with
*streaming* audio? I've come across some comments that suggest that
it might not be possible, but I've never seen it explicitly stated
that it's not possible.
In other words: should I give up?

Similar Messages

  • How do I pause streaming audio?

    How can I scroll or pause a "streaming" program?
    I don't know if it even counts as streaming because its downloaded from the internet (opens with iTunes - default). I know it can be done, because I contacted the program's source by e-mail.
    I listen to the This American Life's archives (thislife.org) almost everyday at work. Up until now they've been exclusively using RealPlayer, but they've "dumped" them. I sent them an e-mail to see if I was missing something. The rep from the program assured me that they use iTunes themselves & have no problems pausing the program. It really *****, because I have to start the show over every time I answer the phone or go to the printer or whatever. Its an hour long show so eventually I just give up. My boss, my boyfriend & even my IT department at work all have no ideas. Anybody out there got any thoughts?
    PC   Windows XP  

    I went back to the site and tried the first episode on the list (the most recent). The show started up & in the upper left of my iTunes player I had the pause button option! Before it had only offered "stop" (the FF & REW took me back to the beginning of the episode). So that's good.
    BUT, when I went back further into the archives, the pause button wasn't available, only stop, just like before. I did the get info > options, but "remember play position" is grayed out so its not an option.
    Is there anything else I should consider?

  • Streaming audio podcast randomly unpauses when paused

    Often when I listen to streaming audio podcasts on iTunes, if I have to pause it for any reason, it will unpause itself after a few seconds and resume playing. This can be irritating, because usually when I'm pausing it's because I need to step away, which means the heaphones come off. Then I will return and the podcast is already playing. If I don't mark the time when I pause it, I could lose several minutes.
    I have been pausing the stream lately just to watch iTunes's behavior. Sometimes, sure enough, I'll see it automatically resume playback with no accidental button pushing or screen tapping.
    Can anyone explain why it does this? It should always remain paused until I unpause it. Every time.

    I see a similar problem with music loaded into the iPod software on my iPhone 3G. In this case, when I remove the headphones from the headphone jack (ie. not Bluetooth), the iPod software will suddenly kick in and begin playing the last music I was listening to. Note, this music in the iPod software is paused and still lists as "Now Playing" because there does not appear to be a way to tell the iPod software that you are done listening to that music.
    This is a basic flaw with the iPhone software. It seems you cannot tell any software to "Exit" because you are done -- you can only hit the "Home" button and leave the software in background. This can be a plus in some circumstances in that the software will start up again much faster, but it can also be a negative in that the running software is vulnerable to doing unexpected things.
    Message was edited by: DavidMasterson

  • Playback pauses and audio sync issues with live video stream

    I'm seeing playback pauses about every three seconds and audio sync issues with our live demo stream when using the OSMF/Strobe player.  It happens on both our 2Mbps 720p stream and our 480p 750Kbps stream so it does not seem to be related to higher resolution/bandwidth streams.  It also happens if I point directly to a stream asset or if I point to a .f4v with both streams listed for dynamic so it does not seem to be related to dynamic streaming specifically.
    The same live streams play back very well without pauses or audio sync issues in the Akamai's dynamic player and even slightly better with JW 5.2.
    I have viewed the OSMF/Strobe playback on three different laptops of various age (3 months to 2 years) and two are Windows and one is Linux.  I have also tried the various buffering options on the Flash Media Player Setup and Strobe setup and it has not made a noticeable difference.
    To see the stream with the Akamai player, go to:  http://live.kulabyte.com
    To see the stream with the OSMF/Strobe player, go to:  http://live.kulabyte.com/osmf
    I do not have JW set up for public viewing yet, but the two above show the distinct difference.
    We are really hoping to start pointing our customers towards the OSMF player because of the support provided by the community and Adobe, but we have to get the quality of the playback to be acceptable first.
    If someone has ideas on debugging I can PM the actual video assets to you.
    Thanks,
    Tim

    Hi Tim,
    You need to add this setting:
    dynamicStreamBufferTime=8
    The actual value can be higher or lower. The best practice is to use a value that is twice the keyframe distance. Anyway, try different values and see which performs the best for your content.
    I know that the setup page does not contain this option and it is not documented in the UserGuide. We simply missed it. Sorry.
    Also note that the dynamic buffering algorithms are not being used for dynamic streaming content. I tried to explain this here:
    https://sourceforge.net/adobe/smp/wiki/Dynamic%20Buffering/
    Looking forward to your confirmation that this solved your issue.
    -Andrian

  • Streaming audio cutoff

    When using a new 8Gb ipod touch running the latest version of the operating system [3.1.2(7D11)] , the following problem arises:
    When the ipod touch is receiving streaming audio via WiFi, the reception stops after approximately 30 minutes. That problem persists for various apps. For example streaming BBC via Fstream, NPR via Public Radio, or internet stations via AOL Radio. Additionally, mp3 files, transmitted from a PC running Airfoil
    to the ipod touch running Airfoil Speakers results in similar behavior. In all of these cases we have verified that the streaming audio is stopped at the ipod touch not at the source.

    wifi cuts off after 30 minutes of being in sleep mode as a battery saving feature. i'm afraid the only way round it is to make sure you switch out of sleep mode and press a button or two (double clicking the home button to bring up the sound controls, then hitting pause and play seems to work too)

  • Unwanted synchronization when streaming audio&video

    hi,
    i'm streaming audio and video, both of which are created with separate Processors. i'm playing them back on the client's side with separate players on separate ports. despite all this, when i pause the audio, the video pauses too!
    any suggestions?
    Thanks in advance :O)

    This is suposed to happen if the streams received have the same CName. I guess if you are able to send two different streams with 2 different CNames they won't synchronize. But I still don't know how to do that... :)
    Also, less useful but still a fact, if you receive the streams in two different VM's that won't happen either... :)
    Bira

  • '12 VW BT streaming audio from iPhone 4

    I have my iPhone 4 synced to my new 2012 VW vehicle via Bluetooth (VW Fender audio system).  Phone calls work great and so far no issues.
    What I have an issue with is that upon turning on the vehicle, the iPhone 4 automatically begins streaming random music (i.e. "play" is enabled).  I am not listening to BT Audio nor have it selected on the car controls.  The radio could also be powered off.  The Fender audio settings have a box to check for "Automatically play BT audio", which I have purposely deselected (not enabled).  It appears VW thought of this as a possibility.
    If I don't remind myself to check, the streaming audio will chew down the iPhone's battery during the course of a trip.  If I remind myself to check, it's just a matter of going into Music, selecting "Now Playing" and pressing pause.  I can also go into BT Media and select the iPhone, to pause from the touch screen controls.
    Without turning off the phone's Bluetooth, because I do want handsfree calls, is there anything else I can do to get the music to stop auto-streaming?

    Have a look at the troubleshooting section of this article which may help
    http://support.apple.com/kb/HT4437

  • Unable to Stream Audio

    I'm unable to stream audio from a popular radio station. My old Win XP and Vista systems had no trouble. The radio station's site indicates that Windows Media Player is necessary. I'm hesitant to install anything having to do with Microsoft and/or Windows. What do I need to know? What are the pros/cons of installing Windows Media Player? Is there an Apple-approved version of WMP? Are there any other options available to me?

    Hi iTunesKruzr
    Some radio stations will play in Safari and other OS X browsers and some will not without a wmp?
    Download and install Flip4Mac first to see if that doesn't let you listen to you favorite station?
    http://www.apple.com/downloads/macosx/video/flip4macwindowsmediacomponentsforqui cktime.html
    Dennis

  • Problem with streaming audio

    I wasn't sure if this is a problem with Safari, iTunes, or OS X, so rather than post the question in all three of those forums I decided to post the question here.
    I can't seem to get streaming audio to open and play when I click on their appropriate links in Safari. I tried several different links through a few different sites, but when I click on a "Play" or "Listen Now" link for an MP3 stream, a Safari download window opens and that's it -- no stream.
    I solved the problem by copying the link, going to iTunes, and choosing "Open Stream" from the "Advanced" menu, and the stream played fine, but I would hate to have to do that every time I want to sample an audio stream.
    Anyone know why it wouldn't work when I clicked on the direct link?
    Thanks.

    Nevermind. Noob figured out what he was doing wrong.
    See Safari "Preferences", "Open 'safe' files after downloading".
    /smacks self on head

  • I recently purchased an Onkyo stereo receiver with a wireless USB adapter, UWF-1, and want to stream audio from my MacBook Pro through my stereo system. The receiver tells me it is connected to my wireless LAN, but I cannot get music to play?

    New to the community here, thanks for your patience.  I recently purchased an Onkyo TX-8050 Network Stereo Receiver with the UWF-1 USB adapter with the intent to stream audio from my MacBook Pro to the stereo. I have gone through the setup instructions for the adapter and the receiver gives me a message saying that it is connected to the password protected network, but that is as far as I can get.
    I have gone into iTunes and clicked on the "Open Stream" option, but I just get a pop up box labeled "URL" that is empty. I have Home Sharing turned on and File Sharing turned on, but I am not seeing the receiver in my Finder window or as a iTunes device.
    I would appreciate any and all advice and assistance.
    Thanks so much.
    Dan

    So I have been searching the iStore for Airplay and I find lots of information about what it is, but nothing about how much it costs, how/where to buy it, etc.?
    Fortunately, AirPlay does not cost anything as it is a streaming protocol used by Apple. Currently, the AirPort Express and Apple TV are AirPlay-ready. A number of other companies, like JBL, iHome, Denon and Klipsch are also rumored to be working on AirPlay versions of their products.
    Your other option would be to get an AirPort Express and connect it to your Onkyo analog or optical digital audio input and stream from iTunes that way. I currently do this with my 10+ year old Harmon Kardon HT receiver.

  • Facebook and streaming audio issues

    I like using Facebook and stream audio from my favorite radio stations!  However, I am running into adobe flash upgrade issues!!!!  I can bring up Facebook but I can't run certain programs within it.  I can bring up my favorite radio stations but won't let me stream audio!!!!  Any solutions?

    What exactly are your issues?
    I had an issue where every image found on the blog template was showing up instead of the actual image that represented the blog post. My fix was to make sure of the following:
    1. Blog image needs to be small in file size. Many bloggers post images that came straight off their camera and I found that the share tools will grab the most accessbile and light-weight files first. If the image is too big then it won't grab it at all. The share tool grabs the smallest and fastest loading, top-most in the code image first, which means the images found on the template of the blog.
    This issue occurs at WordPress too, so it is not restricted to BC but rather the tools provided to share.
    2. Try to avoid putting the image inbetween <p></p>'s, when I pulled mine out of the the paragraph format, they were found quicker.
    3. Avoid having the image lead off the blog post list before the bodypreview, if you can at all just show the image on within post detail page if you can. I know that having an image in the list helps, but then just put the whole blog in the list, like WP does. Problem here is that most share tools on the list have a problem diciphering what to share, so it shares the whole page, giving everthing a share count. WP does this better. They isolate the independent listings and provide isolated share tools for each list.
    Wait a week and the technology will change again.
    Good news is that the element that Facebook offers to share a page on the web will be featuring the option to upload an image to accompanying the sharing of the post. You can see this happening at Facebook already when you drop in the link of the post into a news feed.
    I hope this helps.

  • How can I get netflix streaming audio, the video is fine but the audio coming through is from the TV(dish)

    how can I get netflix streaming audio, the video is fine but the audio coming through is from the TV(dish)

    It's exactly as I stated. Whenever I try to drag these kinds of loops (ESX24 / software instrument loops? the ones marked in green with the white music note next to them) from the loop browser into the timeline a message comes up saying Audio Not Found for that loop.  And a new track is created automatically when loops are dragged into the timeline, so I'm not creating some other random / synth instrument track so I'm not sure  what the deal is... But perhaps I'll try creating a software instrument track first and then drag the loop into that track and see what happens - maybe there's something with the default settings that automatically creates audio tracks whenever loops are imported?

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

  • How can I stream audio from Apple TV 2 to Airport Express speakers.

    how can I stream audio from Apple TV 2 to Airport Express speakers.
    I have LCD projector on one wall and connected ATV to it via HDMI.
    Speakers on the other wall and connected to APXpress.

    To be honest the times we've wanted to have music from more than one set of speakers, I've usually used my mac's iTunes library and controlled it either from the mac or from my phone, since they're not really the times we have any TV on anyway. I've tested AirTunes from the Apple TV but can't recall whether it worked with content from a streaming library.
    Now I've got something to do.

  • How can I stream audio from apple tv to airport express

    Hello,
    i have an apple tv and would like to stream audio to my airport-express. Is this possible?
    Thanks,
    Xaver

    Welcome to the Apple Community.
    It's not possible from the Apple TV 2 or 3.

Maybe you are looking for

  • New Features for OWB 9.2

    Mark Van De Wiel mentioned yesterday in this forum that OWB 9.2 is now available at http://otn.oracle.com/software/products/warehouse/content.html . From the version number it would appear that this is a major new release, and it's a separate install

  • Connect MBP to TV using RCA Cables

    Hi. Is there a way I can connect my MacBook Pro to my older TV just using RCA? Basically I have Red, Yellow and White open ports on my TV and wondered if there was a cable or a converter of some kind that I could connect my computer to and then conne

  • Problem creating database with SAP Netweaver 7 sp 12

    Hello all, I have retrieved a new license from the website. The problem that I now have is that when I try to create a table, I am prompted for an access key. I input the developer access key (29671482393151224771) and it doesn't work. Please, does a

  • Make a fields as a required field at runtime

    Hi Gurus, Hi have one requirement , Make a fields as a required field at runtime, when i click the submit button By ram k

  • Import von psd in premiere CS6 funktioniert nicht

    das importieren von Photoshop psd dateien in adobe premiere CS6 funktioniert nicht. es kommt zu einem fehler mit der meldung "allgemeine fehler". alle andere dateien kann ich importieren. vielen dank für einen hinweis im voraus khosro