After talking with Eric Carlson, we think its time to remove all the code behind ENABLE(MEDIA_SESSION), no ports enable it and the spec has substantially changed since this was first implemented.
Created attachment 409436 [details] Patch
Created attachment 409442 [details] Patch
Created attachment 409460 [details] Patch
Created attachment 409461 [details] Patch
Tools/Scripts/svn-apply failed to apply attachment 409461 [details] to trunk. Please resolve the conflicts and upload a new patch.
<rdar://problem/69750841>
Created attachment 410124 [details] Patch
Created attachment 410128 [details] Patch
Created attachment 410129 [details] Patch
Committed r267796: <https://trac.webkit.org/changeset/267796> All reviewed patches have been landed. Closing bug and clearing flags on attachment 410129 [details].
Reverted r267796 for reason: This change is breaking the build on internal debug bots. Committed r267883: <https://trac.webkit.org/changeset/267883>
After reviewing with Tim and Sam relanding patch.
Committed r267885: <https://trac.webkit.org/changeset/267885> All reviewed patches have been landed. Closing bug and clearing flags on attachment 410129 [details].