New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[iOS] Use finer-grained media services when available #7397
[iOS] Use finer-grained media services when available #7397
Conversation
EWS run on current version of this PR (hash cfd16b9) |
"com.apple.coremedia.mediaplaybackd.formatreader.xpc" | ||
"com.apple.coremedia.mediaplaybackd.player.xpc" | ||
"com.apple.coremedia.mediaplaybackd.remaker.xpc" | ||
"com.apple.coremedia.mediaplaybackd.samplebufferaudiorenderer.xpc" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are there other services we can remove access to when mediaaybackd is present? I may look like there are old counterparts to some of these new services?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps we can add telemetry to the old services if HAVE_MEDIAPLAYBACKD = 1?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pvollan: Indeed, we should consider that in the future, but for now the relevant people working on this finer-grained XPC layer say they do not intend for us to remove the old items yet (though this will hopefully happen soon).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
R=me.
https://bugs.webkit.org/show_bug.cgi?id=249033 <rdar://100435873> Reviewed by Per Arne Vollan. Use more specific mach services for media features on platforms that support them. This will allow us to narrow the scope to only those endpoints required for web-related media tasks. No change in behavior. * Source/WTF/wtf/PlatformHave.h: * Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.GPU.sb.in: Canonical link: https://commits.webkit.org/257653@main
cfd16b9
to
6cbeaff
Compare
Committed 257653@main (6cbeaff): https://commits.webkit.org/257653@main Reviewed commits have been landed. Closing PR #7397 and removing active labels. |
6cbeaff
cfd16b9
π§ͺ ios-wk2π§ͺ api-macπ§ͺ api-iosπ§ͺ api-gtkπ§ͺ mac-AS-debug-wk2