Bug 247261 - Audio elements with preload=none still result in metadata request
Summary: Audio elements with preload=none still result in metadata request
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Audio (show other bugs)
Version: Safari 16
Hardware: iPhone / iPad iOS 16
: P2 Critical
Assignee: Nobody
URL:
Keywords: BrowserCompat, InRadar
Depends on:
Blocks:
 
Reported: 2022-10-31 08:42 PDT by Aphrodite
Modified: 2022-11-07 07:43 PST (History)
5 users (show)

See Also:


Attachments
Example audio media elements (36.80 KB, image/png)
2022-10-31 08:42 PDT, Aphrodite
no flags Details
When a large number of audio tag are created, even when preload=none, there is a long period of max CPU and little other activity (142.45 KB, image/png)
2022-10-31 08:53 PDT, Aphrodite
no flags Details
Whereas the issue fully disappears if audio is moved, leading us to the conclusion that the page is trying to either preload the audio or fetch metadata (421.85 KB, image/png)
2022-10-31 08:54 PDT, Aphrodite
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aphrodite 2022-10-31 08:42:38 PDT
Created attachment 463319 [details]
Example audio media elements

Our application has a significant number of audio elements that are created, with preload=none. On all non-webkit browsers, this currently does not cause a problem. However on iOS safari, chrome, firefox, and Mac Safari, there are several seconds of the page fully freezing when the new audio tracks are created. This issue completely disappears when the audio elements are removed from their locations, so the web application is clearly reading them. See attached screenshots of the behavior.
Comment 1 Aphrodite 2022-10-31 08:53:13 PDT
Created attachment 463320 [details]
When a large number of audio tag are created, even when preload=none, there is a long period of max CPU and little other activity
Comment 2 Aphrodite 2022-10-31 08:54:08 PDT
Created attachment 463321 [details]
Whereas the issue fully disappears if audio is moved, leading us to the conclusion that the page is trying to either preload the audio or fetch metadata
Comment 3 Radar WebKit Bug Importer 2022-11-07 07:43:19 PST
<rdar://problem/102040607>