| Summary: | [iOS] Adopt -[AVAudioSession setAuditTokensForProcessAssertion:] | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Jer Noble <jer.noble> | ||||||||||||||||
| Component: | Media | Assignee: | Jer Noble <jer.noble> | ||||||||||||||||
| Status: | RESOLVED FIXED | ||||||||||||||||||
| Severity: | Normal | CC: | benjamin, brad, cdumez, cmarcelo, eric.carlson, ews-watchlist, glenn, philipj, sergio, webkit-bug-importer, wes | ||||||||||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||||||||||
| Version: | WebKit Nightly Build | ||||||||||||||||||
| Hardware: | Unspecified | ||||||||||||||||||
| OS: | Unspecified | ||||||||||||||||||
| Attachments: |
|
||||||||||||||||||
|
Description
Jer Noble
2021-11-09 15:23:48 PST
Created attachment 443760 [details]
Patch
Created attachment 443770 [details]
Patch
Comment on attachment 443770 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=443770&action=review > Source/WebKit/GPUProcess/media/RemoteAudioSessionProxyManager.cpp:195 > + if (proxy.gpuConnectionToWebProcess().presentingApplicationAuditToken()) > + presentingProcesses.append(*proxy.gpuConnectionToWebProcess().presentingApplicationAuditToken()); Nit: it would be more efficient, in a Debug build at least, to put the token into a local variable Created attachment 443820 [details]
Patch for landing
ChangeLog entry in Source/WebCore/ChangeLog contains OOPS!. Created attachment 443821 [details]
Patch for landing
Committed r285584 (244092@main): <https://commits.webkit.org/244092@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 443821 [details]. Reopening to attach new patch. Created attachment 443959 [details]
Follow up patch
Comment on attachment 443959 [details] Follow up patch View in context: https://bugs.webkit.org/attachment.cgi?id=443959&action=review > Source/WebCore/platform/audio/ios/AudioSessionIOS.mm:172 > +#if HAVE(AUDIOSESSION_PROCESSASSERTION) You want an #else with a UNUSED_PARAM(auditTokens); Created attachment 443966 [details]
Follow up patch
Comment on attachment 443966 [details]
Follow up patch
r=me
Committed r285646 (244147@main): <https://commits.webkit.org/244147@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 443966 [details]. Reopening to attach new patch. Created attachment 444293 [details]
Follow up patch
Committed r285836 (244268@main): <https://commits.webkit.org/244268@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 444293 [details]. *** Bug 198277 has been marked as a duplicate of this bug. *** |