Bug 215526

Summary: Need a better implementation to synchronize the state between PlaybackSessionModelMediaElement and PlaybackSessionModelContext
Product: WebKit Reporter: Peng Liu <peng.liu6>
Component: MediaAssignee: Peng Liu <peng.liu6>
Status: NEW ---    
Severity: Normal CC: eric.carlson, jer.noble, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: iPhone / iPad   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=215488

Description Peng Liu 2020-08-14 16:34:03 PDT
This is a follow-up task of https://bugs.webkit.org/show_bug.cgi?id=215488#c6.

PlaybackSessionModelMediaElement (in the Web process) and PlaybackSessionModelContext (in the UI process) need to always maintain a consistent state, especially when one side is destroyed and created.

In addition, we need some regression tests.
Comment 1 Radar WebKit Bug Importer 2020-08-21 16:35:16 PDT
<rdar://problem/67588009>