Definition
Media Session defines MediaSession
[Exposed=Window]
interface MediaSession {
attribute MediaMetadata? metadata;
attribute MediaSessionPlaybackState playbackState;
undefined setActionHandler(MediaSessionAction action, MediaSessionActionHandler? handler);
undefined setPositionState(optional MediaPositionState state = {});
Promise<undefined> setMicrophoneActive(boolean active);
Promise<undefined> setCameraActive(boolean active);
};