@@ -9749,7 +9749,7 @@ interface MediaKeySessionEventMap {
9749
9749
9750
9750
/** This EncryptedMediaExtensions API interface represents a context for message exchange with a content decryption module (CDM). */
9751
9751
interface MediaKeySession extends EventTarget {
9752
- readonly closed: Promise<undefined >;
9752
+ readonly closed: Promise<MediaKeySessionClosedReason >;
9753
9753
readonly expiration: number;
9754
9754
readonly keyStatuses: MediaKeyStatusMap;
9755
9755
onkeystatuseschange: ((this: MediaKeySession, ev: Event) => any) | null;
@@ -18778,6 +18778,7 @@ type MediaDecodingType = "file" | "media-source" | "webrtc";
18778
18778
type MediaDeviceKind = "audioinput" | "audiooutput" | "videoinput";
18779
18779
type MediaEncodingType = "record" | "webrtc";
18780
18780
type MediaKeyMessageType = "individualization-request" | "license-release" | "license-renewal" | "license-request";
18781
+ type MediaKeySessionClosedReason = "closed-by-application" | "hardware-context-reset" | "internal-error" | "release-acknowledged" | "resource-evicted";
18781
18782
type MediaKeySessionType = "persistent-license" | "temporary";
18782
18783
type MediaKeyStatus = "expired" | "internal-error" | "output-downscaled" | "output-restricted" | "released" | "status-pending" | "usable" | "usable-in-future";
18783
18784
type MediaKeysRequirement = "not-allowed" | "optional" | "required";
@@ -18793,7 +18794,7 @@ type OscillatorType = "custom" | "sawtooth" | "sine" | "square" | "triangle";
18793
18794
type OverSampleType = "2x" | "4x" | "none";
18794
18795
type PanningModelType = "HRTF" | "equalpower";
18795
18796
type PaymentComplete = "fail" | "success" | "unknown";
18796
- type PermissionName = "gamepad" | "geolocation" | "notifications" | "persistent-storage" | "push";
18797
+ type PermissionName = "gamepad" | "geolocation" | "notifications" | "persistent-storage" | "push" | "screen-wake-lock" ;
18797
18798
type PermissionState = "denied" | "granted" | "prompt";
18798
18799
type PlaybackDirection = "alternate" | "alternate-reverse" | "normal" | "reverse";
18799
18800
type PositionAlignSetting = "auto" | "center" | "line-left" | "line-right";
0 commit comments