On Sun, Mar 31, 2013 at 4:54 AM, Kumar McMillan <[email protected]>wrote:
> I've been experimenting with a live mp3 stream on an Unagi Firefox OS > device (b2g18 build) and I've noticed that pause/resume does not work as I > expect. I'd expect the resume to forget anything that was buffered and > simply pick up streaming the live data. Instead it tries to play from the > buffer which eventually runs out and causes the stream to cut out or become > garbled. > > I've been able to work around this by creating a pause button that > completely destroys the audio object. On resume, it recreates a new audio > object. To do this I also had to bust the URL cache with a random query > string value. > > Is there a better way to pause/resume a live stream? > Currently no, because we don't actually know whether your stream is "live" or not. Rob -- q“qIqfq qyqoquq qlqoqvqeq qtqhqoqsqeq qwqhqoq qlqoqvqeq qyqoquq,q qwqhqaqtq qcqrqeqdqiqtq qiqsq qtqhqaqtq qtqoq qyqoquq?q qEqvqeqnq qsqiqnqnqeqrqsq qlqoqvqeq qtqhqoqsqeq qwqhqoq qlqoqvqeq qtqhqeqmq.q qAqnqdq qiqfq qyqoquq qdqoq qgqoqoqdq qtqoq qtqhqoqsqeq qwqhqoq qaqrqeq qgqoqoqdq qtqoq qyqoquq,q qwqhqaqtq qcqrqeqdqiqtq qiqsq qtqhqaqtq qtqoq qyqoquq?q qEqvqeqnq qsqiqnqnqeqrqsq qdqoq qtqhqaqtq.q" _______________________________________________ dev-media mailing list [email protected] https://lists.mozilla.org/listinfo/dev-media

