[Webkit-unassigned] [Bug 116145] Playing many sounds with HTML5 Audio makes WebKit unresponsive

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 15 12:54:02 PDT 2013


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





--- Comment #3 from Jer Noble <jer.noble at apple.com>  2013-05-15 12:52:28 PST ---
Looks like, for this specific case, there could be a large gain by changing this line in HTMLMediaElement::shouldDisableSleep() from:

    return m_player && !m_player->paused() && hasVideo() && hasAudio() && !loop();

to:

    return m_player && hasVideo() && hasAudio() && !loop() && !m_player->paused();

Or, we could cache the value of [m_avPlayer rate] so as not to call back into AVFoundation so often.

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