Media Session API คืออะไร?
Media Session API is a web standard that allows web applications to customize media notifications and respond to hardware media key events from the operating system.
ประโยชน์ & เหตุผลที่เลือกใช้
Hardware Integration
Hardware Media Keys Support
Displays song title, artist, and artwork on macOS Control Center, Windows 11 Action Center, and Android lock screen while intercepting hardware Play/Pause/Skip buttons.
Convenience
Why we chose Media Session API
Allows users to pause or skip karaoke songs instantly using their wireless headphone buttons, Bluetooth remotes, or laptop media keys without needing to switch windows.