@@ -1211,6 +1211,7 @@ interface RTCCertificateExpiration {
1211
1211
interface RTCConfiguration {
1212
1212
bundlePolicy?: RTCBundlePolicy;
1213
1213
certificates?: RTCCertificate[];
1214
+ encodedInsertableStreams?: boolean;
1214
1215
iceCandidatePoolSize?: number;
1215
1216
iceServers?: RTCIceServer[];
1216
1217
iceTransportPolicy?: RTCIceTransportPolicy;
@@ -5414,8 +5415,8 @@ interface GenericTransformStream {
5414
5415
/** An object able to programmatically obtain the position of the device. It gives Web content access to the location of the device. This allows a Web site or app to offer customized results based on the user's location. */
5415
5416
interface Geolocation {
5416
5417
clearWatch(watchId: number): void;
5417
- getCurrentPosition(successCallback: PositionCallback, errorCallback?: PositionErrorCallback, options?: PositionOptions): void;
5418
- watchPosition(successCallback: PositionCallback, errorCallback?: PositionErrorCallback, options?: PositionOptions): number;
5418
+ getCurrentPosition(successCallback: PositionCallback, errorCallback?: PositionErrorCallback | null , options?: PositionOptions): void;
5419
+ watchPosition(successCallback: PositionCallback, errorCallback?: PositionErrorCallback | null , options?: PositionOptions): number;
5419
5420
}
5420
5421
5421
5422
declare var Geolocation: {
@@ -18538,7 +18539,7 @@ type MediaDecodingType = "file" | "media-source" | "webrtc";
18538
18539
type MediaDeviceKind = "audioinput" | "audiooutput" | "videoinput";
18539
18540
type MediaEncodingType = "record" | "webrtc";
18540
18541
type MediaKeyMessageType = "individualization-request" | "license-release" | "license-renewal" | "license-request";
18541
- type MediaKeySessionType = "persistent-license" | "persistent-usage-record" | " temporary";
18542
+ type MediaKeySessionType = "persistent-license" | "temporary";
18542
18543
type MediaKeyStatus = "expired" | "internal-error" | "output-downscaled" | "output-restricted" | "released" | "status-pending" | "usable" | "usable-in-future";
18543
18544
type MediaKeysRequirement = "not-allowed" | "optional" | "required";
18544
18545
type MediaSessionAction = "nexttrack" | "pause" | "play" | "previoustrack" | "seekbackward" | "seekforward" | "seekto" | "skipad" | "stop";
0 commit comments