Page MenuHomePhabricator

Audio playback in Safari (ogv.js) stutters when playing in background tab
Closed, ResolvedPublic


Load up in Safari, start playback, then switch to another tab. Playback continues, but stutters a lot.

Probably due to use of timers in ogv.js that are throttled when using background tab; it tries to keep up with decoding based on the audio output callbacks (which are not throttled, in theory) but it's not quite handling everything it needs it seems.

Tested in Safari on OS X 10.10.5

Event Timeline

brion claimed this task.
brion raised the priority of this task from to Low.
brion updated the task description. (Show Details)
brion added a project: TimedMediaHandler.
brion added a subscriber: brion.

Filed in ogv.js github issues so it's on the board on that end:

Fixed upstream in 1.1.0-alpha.2.

Change 286307 had a related patch set uploaded (by Brion VIBBER):
[WIP] Update ogv.js to 1.1.0-alpha.2

TheDJ removed a project: Patch-For-Review.
TheDJ moved this task from Player to Done on the TimedMediaHandler board.

Change 286307 merged by jenkins-bot:
Update ogv.js to 1.1.0 release