| Summary: | Now Playing content isn't updated when media session's Metadata is modified | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Jean-Yves Avenard [:jya] <jean-yves.avenard> | ||||||||||||
| Component: | Media | Assignee: | Jean-Yves Avenard [:jya] <jean-yves.avenard> | ||||||||||||
| Status: | RESOLVED FIXED | ||||||||||||||
| Severity: | Normal | CC: | cdumez, changseok, eric.carlson, esprehn+autocc, ews-watchlist, glenn, gyuyoung.kim, jer.noble, philipj, sergio, webkit-bug-importer | ||||||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||||||
| Version: | WebKit Nightly Build | ||||||||||||||
| Hardware: | Unspecified | ||||||||||||||
| OS: | Unspecified | ||||||||||||||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=222158 | ||||||||||||||
| Bug Depends on: | |||||||||||||||
| Bug Blocks: | 223731 | ||||||||||||||
| Attachments: |
|
||||||||||||||
|
Description
Jean-Yves Avenard [:jya]
2021-03-26 05:49:56 PDT
Additionally, by implementing the Media Session observer it will allow to set default action when a Media Session handler isn't defined. Created attachment 424345 [details]
Patch
Created attachment 424346 [details]
Patch
Issue with forward declaration and Optional, changing method prototype to use reference instead Created attachment 424347 [details]
Patch
Fix unresolved symbol on TVOS
Comment on attachment 424345 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=424345&action=review > Source/WebCore/html/MediaElementSession.cpp:213 > + session->removeObserver(*m_observer); You could give MediaSessionObserver a pointer to the media session and have it call add/removeObserver automatically Created attachment 424521 [details]
Patch
Comment on attachment 424521 [details]
Patch
I'm afraid this will need to be rebased.
Created attachment 424611 [details]
Patch
rebase
Comment on attachment 424611 [details]
Patch
unrelated iPhoto.Framework failure.
Committed r275203: <https://commits.webkit.org/r275203> All reviewed patches have been landed. Closing bug and clearing flags on attachment 424611 [details]. |