[Webkit-unassigned] [Bug 34159] New: Setting audio.currentTime breaks when unbuffered

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 26 03:44:20 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=34159

           Summary: Setting audio.currentTime breaks when unbuffered
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh Intel
        OS/Version: Mac OS X 10.6
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Media Elements
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jon at steelskies.com


Heya,
I'm having problems with HTML5's audio buffering.

Say that a 10 minute mp3 is downloading and playing, and audio.buffered.end(0)
has reached 3 minutes.  If I then set the currentTime to 5 minutes, I see a
single 'progress' event claiming that audio.buffered extends from 0 to 5
minutes, and then I stop receiving 'progress' events.  audio.networkState stays
at NETWORK_LOADING, and audio.readyState is HAVE_CURRENT_DATA.   audio.play() &
audio.pause() then seem to do nothing.
The audio then seems stuck in this state until I rewind currentTime to before 3
minutes (the point at which it had buffered up to before setting currentTime),
at which point it will continue downloading and behave normally.

This doesn't happen every time, but does seem to crop up in 90% of cases.  I'm
having trouble producing a reliable test case given it relies on setting the
currentTime before the browser gets around to buffering that segment.  is there
anything I can do to provide more information?

-Jonathan

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list