Add remote MediaSessionCoordinator
<rdar://problem/75934650>
Created attachment 424509 [details] WIP patch
Created attachment 424510 [details] WIP patch
These changes all LGTM, but we should think about decoupling the successful MediaSessionCoordinatorPrivate callback from a default MediaSession action in response. I can imagine a situation where a promise has to get rejected because a pause command came in while a play coordination request was still waiting to be fulfilled. Maybe in a follow-up patch we could take a look at this.
Comment on attachment 424510 [details] WIP patch View in context: https://bugs.webkit.org/attachment.cgi?id=424510&action=review > Source/WebCore/ChangeLog:8 > +2021-03-28 Eric Carlson <eric.carlson@apple.com> > + > + [macOS] Add remote MediaSessionCoordinator > + https://bugs.webkit.org/show_bug.cgi?id=223854 > + <rdar://problem/75934650> > + > + Reviewed by NOBODY (OOPS!). > + Please fill out the ChangeLog description before landing.
Created attachment 424550 [details] Patch for landing
Created attachment 424553 [details] Patch for landing
Comment on attachment 424553 [details] Patch for landing The Mac test bot failure is media/media-fragments/TC0051.html, not related.
Committed r275171: <https://commits.webkit.org/r275171> All reviewed patches have been landed. Closing bug and clearing flags on attachment 424553 [details].