The Media Session API enables web developers to show customized media metadata and controls on platform UI, such as in notification areas and on lock screens of mobile devices.
The Media Session API enables web developers to show customized media metadata on platform UI, customize available platform media controls, and access platform media keys such as hardware keys found on keyboards, headsets, remote controls, and software keys found in notification areas and on lock screens of mobile devices.
This API was introduced in Chrome for Android 45 in the year 2015.
References:
- Chrome announcement: Media playback notifications for Chrome on Android
- W3C: Media Session Standard: Editor's Draft
- MDN: MediaSession