@@ -9749,7 +9749,7 @@ interface MediaKeySessionEventMap {
97499749
97509750/** This EncryptedMediaExtensions API interface represents a context for message exchange with a content decryption module (CDM). */
97519751interface MediaKeySession extends EventTarget {
9752- readonly closed: Promise<undefined >;
9752+ readonly closed: Promise<MediaKeySessionClosedReason >;
97539753 readonly expiration: number;
97549754 readonly keyStatuses: MediaKeyStatusMap;
97559755 onkeystatuseschange: ((this: MediaKeySession, ev: Event) => any) | null;
@@ -18778,6 +18778,7 @@ type MediaDecodingType = "file" | "media-source" | "webrtc";
1877818778type MediaDeviceKind = "audioinput" | "audiooutput" | "videoinput";
1877918779type MediaEncodingType = "record" | "webrtc";
1878018780type MediaKeyMessageType = "individualization-request" | "license-release" | "license-renewal" | "license-request";
18781+ type MediaKeySessionClosedReason = "closed-by-application" | "hardware-context-reset" | "internal-error" | "release-acknowledged" | "resource-evicted";
1878118782type MediaKeySessionType = "persistent-license" | "temporary";
1878218783type MediaKeyStatus = "expired" | "internal-error" | "output-downscaled" | "output-restricted" | "released" | "status-pending" | "usable" | "usable-in-future";
1878318784type MediaKeysRequirement = "not-allowed" | "optional" | "required";
@@ -18793,7 +18794,7 @@ type OscillatorType = "custom" | "sawtooth" | "sine" | "square" | "triangle";
1879318794type OverSampleType = "2x" | "4x" | "none";
1879418795type PanningModelType = "HRTF" | "equalpower";
1879518796type 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" ;
1879718798type PermissionState = "denied" | "granted" | "prompt";
1879818799type PlaybackDirection = "alternate" | "alternate-reverse" | "normal" | "reverse";
1879918800type PositionAlignSetting = "auto" | "center" | "line-left" | "line-right";
0 commit comments