@aelionsdk/capability 0.1.0-beta.1 → 1.0.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/gate.d.ts +23 -0
- package/dist/gate.d.ts.map +1 -0
- package/dist/gate.js +52 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/probe.d.ts.map +1 -1
- package/dist/probe.js +50 -25
- package/dist/types.d.ts +6 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -4,4 +4,4 @@ Browser media capability probing for AelionSDK
|
|
|
4
4
|
|
|
5
5
|
Install with `npm install @aelionsdk/capability@next`.
|
|
6
6
|
|
|
7
|
-
Version
|
|
7
|
+
Version 1.0.0-rc.1 is a prerelease and its API may change before the first stable release. This package is part of [AelionSDK](https://github.com/FoyonaCZY/AelionSDK); see the repository README for supported browsers, examples and deployment requirements.
|
package/dist/gate.d.ts
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { Diagnostic } from '@aelionsdk/core';
|
|
2
|
+
import type { CapabilityReport } from './types.js';
|
|
3
|
+
export interface CapabilityGateRequirements {
|
|
4
|
+
/** Exact capability probe ids, for example `h264-decode-1080p30`. */
|
|
5
|
+
readonly codecIds?: readonly string[];
|
|
6
|
+
readonly gpu?: 'webgl2' | 'webgpu';
|
|
7
|
+
readonly audioWorklet?: boolean;
|
|
8
|
+
readonly opfs?: boolean;
|
|
9
|
+
readonly sharedArrayBuffer?: boolean;
|
|
10
|
+
readonly transferableStreams?: boolean;
|
|
11
|
+
readonly secureContext?: boolean;
|
|
12
|
+
readonly crossOriginIsolated?: boolean;
|
|
13
|
+
}
|
|
14
|
+
export interface CapabilityGateResult {
|
|
15
|
+
readonly ok: boolean;
|
|
16
|
+
readonly diagnostics: readonly Diagnostic[];
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Evaluates product requirements only from observed capability probes.
|
|
20
|
+
* User-agent and platform strings are intentionally excluded from decisions.
|
|
21
|
+
*/
|
|
22
|
+
export declare function evaluateCapabilityGate(report: CapabilityReport, requirements: CapabilityGateRequirements): CapabilityGateResult;
|
|
23
|
+
//# sourceMappingURL=gate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gate.d.ts","sourceRoot":"","sources":["../src/gate.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAElD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAEnD,MAAM,WAAW,0BAA0B;IACzC,qEAAqE;IACrE,QAAQ,CAAC,QAAQ,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IACtC,QAAQ,CAAC,GAAG,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;IACnC,QAAQ,CAAC,YAAY,CAAC,EAAE,OAAO,CAAC;IAChC,QAAQ,CAAC,IAAI,CAAC,EAAE,OAAO,CAAC;IACxB,QAAQ,CAAC,iBAAiB,CAAC,EAAE,OAAO,CAAC;IACrC,QAAQ,CAAC,mBAAmB,CAAC,EAAE,OAAO,CAAC;IACvC,QAAQ,CAAC,aAAa,CAAC,EAAE,OAAO,CAAC;IACjC,QAAQ,CAAC,mBAAmB,CAAC,EAAE,OAAO,CAAC;CACxC;AAED,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,EAAE,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,WAAW,EAAE,SAAS,UAAU,EAAE,CAAC;CAC7C;AAWD;;;GAGG;AACH,wBAAgB,sBAAsB,CACpC,MAAM,EAAE,gBAAgB,EACxB,YAAY,EAAE,0BAA0B,GACvC,oBAAoB,CAwDtB"}
|
package/dist/gate.js
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
function missing(code, message) {
|
|
2
|
+
return {
|
|
3
|
+
code,
|
|
4
|
+
severity: 'error',
|
|
5
|
+
message,
|
|
6
|
+
recoverable: true,
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Evaluates product requirements only from observed capability probes.
|
|
11
|
+
* User-agent and platform strings are intentionally excluded from decisions.
|
|
12
|
+
*/
|
|
13
|
+
export function evaluateCapabilityGate(report, requirements) {
|
|
14
|
+
const diagnostics = [];
|
|
15
|
+
const codecs = new Map(report.codecs.map(codec => [codec.id, codec]));
|
|
16
|
+
for (const id of requirements.codecIds ?? []) {
|
|
17
|
+
const codec = codecs.get(id);
|
|
18
|
+
if (codec?.supported !== true) {
|
|
19
|
+
diagnostics.push(missing('CAPABILITY_GATE_CODEC_UNSUPPORTED', codec === undefined
|
|
20
|
+
? `Required codec probe ${id} is absent`
|
|
21
|
+
: `Required codec probe ${id} is unsupported`));
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
if (requirements.gpu !== undefined && !report.gpu[requirements.gpu].available) {
|
|
25
|
+
diagnostics.push(missing('CAPABILITY_GATE_GPU_UNSUPPORTED', `Required ${requirements.gpu} backend is unavailable`));
|
|
26
|
+
}
|
|
27
|
+
const booleanRequirements = [
|
|
28
|
+
['audioWorklet', requirements.audioWorklet, report.audio.audioWorklet.available],
|
|
29
|
+
['opfs', requirements.opfs, report.storage.opfs.available],
|
|
30
|
+
['sharedArrayBuffer', requirements.sharedArrayBuffer, report.audio.sharedArrayBuffer.available],
|
|
31
|
+
[
|
|
32
|
+
'transferableStreams',
|
|
33
|
+
requirements.transferableStreams,
|
|
34
|
+
report.storage.transferableStreams.available,
|
|
35
|
+
],
|
|
36
|
+
['secureContext', requirements.secureContext, report.environment.secureContext],
|
|
37
|
+
[
|
|
38
|
+
'crossOriginIsolated',
|
|
39
|
+
requirements.crossOriginIsolated,
|
|
40
|
+
report.environment.crossOriginIsolated,
|
|
41
|
+
],
|
|
42
|
+
];
|
|
43
|
+
for (const [name, required, available] of booleanRequirements) {
|
|
44
|
+
if (required === true && !available) {
|
|
45
|
+
diagnostics.push(missing('CAPABILITY_GATE_REQUIREMENT_UNSUPPORTED', `Required capability ${name} is unavailable`));
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
return Object.freeze({
|
|
49
|
+
ok: diagnostics.length === 0,
|
|
50
|
+
diagnostics: Object.freeze(diagnostics),
|
|
51
|
+
});
|
|
52
|
+
}
|
package/dist/index.d.ts
CHANGED
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC"}
|
package/dist/index.js
CHANGED
package/dist/probe.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"probe.d.ts","sourceRoot":"","sources":["../src/probe.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAIV,sBAAsB,EACtB,gBAAgB,EAMjB,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"probe.d.ts","sourceRoot":"","sources":["../src/probe.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAIV,sBAAsB,EACtB,gBAAgB,EAMjB,MAAM,YAAY,CAAC;AA4epB,wBAAsB,iBAAiB,CACrC,OAAO,GAAE,sBAA2B,GACnC,OAAO,CAAC,gBAAgB,CAAC,CAkD3B"}
|
package/dist/probe.js
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { throwIfAborted } from '@aelionsdk/core';
|
|
2
|
+
function currentNavigator() {
|
|
3
|
+
return Reflect.get(globalThis, 'navigator');
|
|
4
|
+
}
|
|
2
5
|
function diagnostic(code, message, recoverable, cause) {
|
|
3
6
|
return {
|
|
4
7
|
code,
|
|
@@ -209,24 +212,33 @@ async function probeGpu(includeAdapterDetails) {
|
|
|
209
212
|
try {
|
|
210
213
|
const canvas = typeof OffscreenCanvas === 'function'
|
|
211
214
|
? new OffscreenCanvas(1, 1)
|
|
212
|
-
: document
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
215
|
+
: typeof document === 'object'
|
|
216
|
+
? document.createElement('canvas')
|
|
217
|
+
: undefined;
|
|
218
|
+
if (canvas === undefined) {
|
|
219
|
+
webgl2 = unsupported('CAPABILITY_WEBGL2_UNAVAILABLE', 'WebGL2 is unavailable');
|
|
220
|
+
}
|
|
221
|
+
else {
|
|
222
|
+
const context = canvas.getContext('webgl2');
|
|
223
|
+
webgl2 =
|
|
224
|
+
context === null
|
|
225
|
+
? unsupported('CAPABILITY_WEBGL2_UNAVAILABLE', 'WebGL2 context creation failed')
|
|
226
|
+
: supported({
|
|
227
|
+
renderer: typeof WebGL2RenderingContext === 'function' &&
|
|
228
|
+
context instanceof WebGL2RenderingContext
|
|
229
|
+
? context.getParameter(context.RENDERER)
|
|
230
|
+
: 'offscreen-webgl2',
|
|
231
|
+
});
|
|
232
|
+
if (typeof WebGL2RenderingContext === 'function' &&
|
|
233
|
+
context instanceof WebGL2RenderingContext) {
|
|
234
|
+
context.getExtension('WEBGL_lose_context')?.loseContext();
|
|
235
|
+
}
|
|
224
236
|
}
|
|
225
237
|
}
|
|
226
238
|
catch (cause) {
|
|
227
239
|
webgl2 = failed('CAPABILITY_WEBGL2_PROBE_FAILED', 'WebGL2 probe failed', cause);
|
|
228
240
|
}
|
|
229
|
-
const gpu =
|
|
241
|
+
const gpu = currentNavigator()?.gpu;
|
|
230
242
|
if (gpu === undefined) {
|
|
231
243
|
return {
|
|
232
244
|
worker,
|
|
@@ -294,7 +306,10 @@ function probeAudio() {
|
|
|
294
306
|
return { audioContext, audioWorklet, sharedArrayBuffer };
|
|
295
307
|
}
|
|
296
308
|
function probeStorage() {
|
|
297
|
-
const
|
|
309
|
+
const navigator = currentNavigator();
|
|
310
|
+
const storage = navigator === undefined
|
|
311
|
+
? undefined
|
|
312
|
+
: Reflect.get(navigator, 'storage');
|
|
298
313
|
const opfs = storage !== undefined && typeof storage.getDirectory === 'function'
|
|
299
314
|
? supported()
|
|
300
315
|
: unsupported('CAPABILITY_OPFS_UNAVAILABLE', 'OPFS is unavailable');
|
|
@@ -307,19 +322,23 @@ function probeStorage() {
|
|
|
307
322
|
return { opfs, fileSystemAccess, transferableStreams };
|
|
308
323
|
}
|
|
309
324
|
function environment() {
|
|
310
|
-
const
|
|
311
|
-
const userAgentData =
|
|
325
|
+
const navigator = currentNavigator();
|
|
326
|
+
const userAgentData = navigator === undefined
|
|
327
|
+
? undefined
|
|
328
|
+
: Reflect.get(navigator, 'userAgentData');
|
|
312
329
|
return {
|
|
313
|
-
userAgent: navigator
|
|
330
|
+
userAgent: navigator?.userAgent ?? 'unavailable',
|
|
314
331
|
platform: userAgentData?.platform ?? 'unknown',
|
|
315
|
-
language: navigator
|
|
316
|
-
hardwareConcurrency:
|
|
332
|
+
language: navigator?.language ?? 'unknown',
|
|
333
|
+
hardwareConcurrency: navigator !== undefined &&
|
|
334
|
+
Number.isFinite(navigator.hardwareConcurrency) &&
|
|
335
|
+
navigator.hardwareConcurrency > 0
|
|
317
336
|
? navigator.hardwareConcurrency
|
|
318
337
|
: null,
|
|
319
|
-
deviceMemoryGiB:
|
|
320
|
-
crossOriginIsolated: globalThis.crossOriginIsolated,
|
|
321
|
-
secureContext: globalThis.isSecureContext,
|
|
322
|
-
origin: globalThis.location.origin,
|
|
338
|
+
deviceMemoryGiB: navigator?.deviceMemory ?? null,
|
|
339
|
+
crossOriginIsolated: Boolean(globalThis.crossOriginIsolated),
|
|
340
|
+
secureContext: Boolean(globalThis.isSecureContext),
|
|
341
|
+
origin: typeof globalThis.location === 'undefined' ? 'unknown' : globalThis.location.origin,
|
|
323
342
|
};
|
|
324
343
|
}
|
|
325
344
|
function probeColor() {
|
|
@@ -343,8 +362,14 @@ function probeColor() {
|
|
|
343
362
|
// from display hardware. HDR/10-bit projects fail closed until the renderer
|
|
344
363
|
// has a float/10-bit surface and matching encoder path.
|
|
345
364
|
localExecution: {
|
|
346
|
-
workingColorSpaces: ['srgb-linear'
|
|
347
|
-
|
|
365
|
+
workingColorSpaces: ['srgb-linear'],
|
|
366
|
+
colorPrimaries: ['bt709'],
|
|
367
|
+
transferFunctions: ['srgb'],
|
|
368
|
+
matrixCoefficients: ['rgb'],
|
|
369
|
+
colorRanges: ['full'],
|
|
370
|
+
chromaSubsamplings: ['rgb', '4:4:4'],
|
|
371
|
+
alphaModes: ['opaque', 'premultiplied'],
|
|
372
|
+
toneMappings: ['none'],
|
|
348
373
|
bitDepths: [8],
|
|
349
374
|
hdrPresentation: false,
|
|
350
375
|
},
|
package/dist/types.d.ts
CHANGED
|
@@ -41,7 +41,13 @@ export interface ColorCapability {
|
|
|
41
41
|
/** The color contract implemented by the current local renderer/exporter. */
|
|
42
42
|
readonly localExecution: {
|
|
43
43
|
readonly workingColorSpaces: readonly string[];
|
|
44
|
+
readonly colorPrimaries: readonly ('bt709' | 'display-p3' | 'bt2020')[];
|
|
44
45
|
readonly transferFunctions: readonly ('srgb' | 'gamma22' | 'pq' | 'hlg')[];
|
|
46
|
+
readonly matrixCoefficients: readonly ('rgb' | 'bt709' | 'bt2020-ncl')[];
|
|
47
|
+
readonly colorRanges: readonly ('full' | 'limited')[];
|
|
48
|
+
readonly chromaSubsamplings: readonly ('rgb' | '4:4:4' | '4:2:2' | '4:2:0')[];
|
|
49
|
+
readonly alphaModes: readonly ('opaque' | 'premultiplied')[];
|
|
50
|
+
readonly toneMappings: readonly ('none' | 'bt2390' | 'reinhard')[];
|
|
45
51
|
readonly bitDepths: readonly (8 | 10)[];
|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version": "1.0.0-rc.1",
|
|
4
4
|
"description": "Browser media capability probing for AelionSDK",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"provenance": true
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@aelionsdk/core": "
|
|
37
|
+
"@aelionsdk/core": "1.0.0-rc.1"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
|
40
40
|
"build": "tsc -b",
|