Bug 199674
Summary: | AudioContext audio level reported as zero when tab loses and regains focus | ||
---|---|---|---|
Product: | WebKit | Reporter: | Kongpheng <Kongpheng.Nanthavongsa> |
Component: | Web Audio | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | eric.carlson, jer.noble, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | Safari 12 | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Kongpheng
In desktop Safari 12, the audio levels reported by the analyzer (via getByteTimeDomainData) remain stuck at zero when the focus shifts to another tab and returns to the original tab. Sample code here: https://codepen.io/v-kpheng/pen/EBGreB.
To reproduce:
* Open link in Safari
* Notice that audio level changes
* In another tab, visit another site and click on an area on the site
* Go back to the original tab
* Notice that the audio level doesn't change anymore and it stuck at 0
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/52910727>
Kongpheng
Hi. Any updates?
This issue is still reproducible on Safari 13.1.2 on macOS 10.15.6, as well as on STP 112.
Please advise. Thanks!
Kongpheng
Closing, since this bug is no longer reproducible on Safari 14. Thanks for fixing -- appreciate the help!