diff --git a/docs/architecture/embedded-inline-playback.md b/docs/architecture/embedded-inline-playback.md index dca9795c3..3c19e5a58 100644 --- a/docs/architecture/embedded-inline-playback.md +++ b/docs/architecture/embedded-inline-playback.md @@ -695,7 +695,7 @@ external-player workflows; it is not copied from the HLS error payload into the evidence or technical details. HLS startup development logs are event-only: they do not include provider-supplied channel names or source URLs. -Shaka Player `5.2.4` errors cross a separate structured boundary before the +Shaka Player `5.2.12` errors cross a separate structured boundary before the HTML5 or ArtPlayer DASH session emits a diagnostic. Version-locked tests assert the installed Shaka version plus the public `Severity`, `Category`, and selected online-playback `Code` values used by the boundary. Evidence retains only diff --git a/docs/architecture/m3u-playlist-module.md b/docs/architecture/m3u-playlist-module.md index 585ec4245..011fd5760 100644 --- a/docs/architecture/m3u-playlist-module.md +++ b/docs/architecture/m3u-playlist-module.md @@ -1513,7 +1513,7 @@ does not change the saved player preference. Clear DASH needs this routing too. engine: lazy `import('shaka-player')` on first use (the module is a separate lazy chunk, ~217 KB transfer), `drm.clearKeys` configuration, an operation queue + generation guard against channel-switch races. The DOM-free Shaka - `5.2.4` public-error boundary lives in `libs/playback/util`; it version-locks + `5.2.12` public-error boundary lives in `libs/playback/util`; it version-locks its allowlisted severity/category/code values, emits only structured sanitized `PlaybackDiagnosticSource.Shaka` evidence, ignores recoverable error events, diff --git a/libs/playback/util/src/lib/diagnostics/shaka-error-contract.ts b/libs/playback/util/src/lib/diagnostics/shaka-error-contract.ts index 5624dc09c..82c2ff85f 100644 --- a/libs/playback/util/src/lib/diagnostics/shaka-error-contract.ts +++ b/libs/playback/util/src/lib/diagnostics/shaka-error-contract.ts @@ -1,10 +1,10 @@ /** - * Public Shaka error values audited against the locked 5.2.4 runtime. + * Public Shaka error values audited against the locked 5.2.12 runtime. * * Keep the version assertion in the contract spec: a Shaka upgrade must stop * here for a new audit instead of silently accepting new error layouts. */ -export const SHAKA_DIAGNOSTIC_VERSION = 'v5.2.4'; +export const SHAKA_DIAGNOSTIC_VERSION = 'v5.2.12'; export const SHAKA_ERROR_SEVERITY = { RECOVERABLE: 1, @@ -123,7 +123,7 @@ export const SHAKA_ERROR_CODE = { MISSING_EME_SUPPORT: 6020, LOAD_INTERRUPTED: 7000, } as const; -/** Shaka 5.2.4 public NetworkingEngine request types used by diagnostics. */ +/** Shaka 5.2.12 public NetworkingEngine request types used by diagnostics. */ export const SHAKA_REQUEST_TYPE = { MANIFEST: 0, SEGMENT: 1, diff --git a/libs/playback/util/src/lib/diagnostics/shaka-playback-evidence.util.spec.ts b/libs/playback/util/src/lib/diagnostics/shaka-playback-evidence.util.spec.ts index 2e0b61ca3..737e2b50b 100644 --- a/libs/playback/util/src/lib/diagnostics/shaka-playback-evidence.util.spec.ts +++ b/libs/playback/util/src/lib/diagnostics/shaka-playback-evidence.util.spec.ts @@ -65,7 +65,7 @@ describe('Shaka playback evidence', () => { } ); - it('matches the installed public Shaka 5.2.4 error contract', () => { + it('matches the installed public Shaka 5.2.12 error contract', () => { const installed = getInstalledShakaContract(); expect(installed.requestTypes).toEqual( expect.objectContaining(SHAKA_REQUEST_TYPE) diff --git a/libs/playback/util/src/lib/diagnostics/shaka-playback-evidence.util.ts b/libs/playback/util/src/lib/diagnostics/shaka-playback-evidence.util.ts index 33a3e345d..3a924778c 100644 --- a/libs/playback/util/src/lib/diagnostics/shaka-playback-evidence.util.ts +++ b/libs/playback/util/src/lib/diagnostics/shaka-playback-evidence.util.ts @@ -51,7 +51,7 @@ export function createShakaPlaybackEvidence( return httpStatus === undefined ? evidence : { ...evidence, httpStatus }; } -/** Public error.data request-type slots in Shaka 5.2.4; no URL inspection. */ +/** Public error.data request-type slots in Shaka 5.2.12; no URL inspection. */ function getNetworkStage(error: Partial | null | undefined) { if ( error?.category !== SHAKA_ERROR_CATEGORY.NETWORK || diff --git a/package.json b/package.json index 77a6d364f..6a3fe916a 100644 --- a/package.json +++ b/package.json @@ -149,7 +149,7 @@ "proxy-from-env": "2.1.0", "rxjs": "7.8.2", "saxes": "6.0.0", - "shaka-player": "5.2.4", + "shaka-player": "5.2.12", "shell-path": "3.1.0", "video.js": "8.24.0", "videojs-contrib-quality-levels": "4.1.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 333c06d8b..93e5f04d4 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -176,8 +176,8 @@ importers: specifier: 6.0.0 version: 6.0.0 shaka-player: - specifier: 5.2.4 - version: 5.2.4 + specifier: 5.2.12 + version: 5.2.12 shell-path: specifier: 3.1.0 version: 3.1.0 @@ -1593,8 +1593,8 @@ packages: cpu: [x64] os: [win32] - '@bufbuild/protobuf@2.15.0': - resolution: {integrity: sha512-DAheWUkVr/SJTWCc+lg9dhY0eN4SaWlf4+bG1KzHeXbnqt0AfB/NX0Z+VunGlM1ki1B4zVvye27MpKh/svySUA==} + '@bufbuild/protobuf@2.16.0': + resolution: {integrity: sha512-FWa0sPlqYGJgpTs6OxBRcL/AW4JT0OIO+W1ajerluoTVh8CV0B7XM1qsNCRgnkSCkRCgOICKHRQlY17jrsm0+Q==} '@capsizecss/unpack@4.0.0': resolution: {integrity: sha512-VERIM64vtTP1C4mxQ5thVT9fK0apjPFobqybMtA1UdUujWka24ERHbRHFGmpbbhp73MhV+KSsHQH9C6uOTdEQA==} @@ -6276,6 +6276,10 @@ packages: resolution: {integrity: sha512-EQsFzMUJkCKGr1ePqlYADkIUmHW1s3ZXr5Yqy6wbGrfUCphpl2maM/kyOIRA2HpP3AaFQTZXD4ldjek+nccddA==} engines: {node: '>=14.14'} + fs-extra@11.4.1: + resolution: {integrity: sha512-KYAb4c9BJQI6QqGKthV68OHe0badztdXJWKo0WtBA9IuCFPTKvE5ZdUBglP833aMjhaSPNO4A5j/EkzZtGlKjA==} + engines: {node: '>=14.14'} + fs-extra@7.0.1: resolution: {integrity: sha512-YJDaCJZEnBmcbw13fvdAM9AwNOJwOzrE4pqMqBq5nFiEqXUqHwlK4B+3pUw6JNvfSPtX05xFHtYy/1ni01eGCw==} engines: {node: '>=6 <7 || >=8'} @@ -8848,8 +8852,9 @@ packages: setprototypeof@1.2.0: resolution: {integrity: sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==} - shaka-player@5.2.4: - resolution: {integrity: sha512-vf81av2EIcb03jRpeeZBhrPT3PMyggXnZA9k4sxGBxpr/H6v0iEL6b51T2Kwz5YNrQG/yDYoadgBW+oW40LeoA==} + shaka-player@5.2.12: + resolution: {integrity: sha512-vEsuVDI3+oLh+yqpjXexQZlg2XMUBI0VrqatDuKWacPaxAud6Uph5uCowUPLhUgNG5XKWCpoM4l1r8qYzWH+zg==} + engines: {node: '>=18'} shallow-clone@3.0.1: resolution: {integrity: sha512-/6KqX+GVUdqPuPPd2LxDDxzX6CAbjJehAAOKlNpqqUpAqPM6HeL8f+o3a+JsyGjn2lv0WY8UsTgUJjU9Ok55NA==} @@ -8947,6 +8952,10 @@ packages: resolution: {integrity: sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==} engines: {node: '>=0.10.0'} + source-map-js@1.2.2: + resolution: {integrity: sha512-KGj/8Y43x35aZVDtt+J4mK1hoLGHULMYfSkODJNQjNDC3oW1PqPoxMwo0pLUsWM/UEGzON/NxeHywEfNXNP3Vw==} + engines: {node: '>=0.10.0'} + source-map-support@0.5.19: resolution: {integrity: sha512-Wonm7zOCIJzBGQdB+thsPar0kYuCIzYvxZwlBa87yi/Mdjv7Tip2cyVbLj5o0cFPN4EVkuTwb3GDDyUx2DGnGw==} @@ -11328,7 +11337,7 @@ snapshots: '@bruits/satteri-win32-x64-msvc@0.10.5': optional: true - '@bufbuild/protobuf@2.15.0': + '@bufbuild/protobuf@2.16.0': optional: true '@capsizecss/unpack@4.0.0': @@ -11460,7 +11469,7 @@ snapshots: dependencies: cross-dirname: 0.1.0 debug: 4.4.3(supports-color@7.2.0) - fs-extra: 11.4.0 + fs-extra: 11.4.1 minimist: 1.2.8 postject: 1.0.0-alpha.6 transitivePeerDependencies: @@ -16032,6 +16041,13 @@ snapshots: jsonfile: 6.2.1 universalify: 2.0.1 + fs-extra@11.4.1: + dependencies: + graceful-fs: 4.2.11 + jsonfile: 6.2.1 + universalify: 2.0.1 + optional: true + fs-extra@7.0.1: dependencies: graceful-fs: 4.2.11 @@ -19385,7 +19401,7 @@ snapshots: sass-embedded@1.100.0: dependencies: - '@bufbuild/protobuf': 2.15.0 + '@bufbuild/protobuf': 2.16.0 colorjs.io: 0.5.2 immutable: 5.1.9 rxjs: 7.8.2 @@ -19417,7 +19433,7 @@ snapshots: dependencies: chokidar: 5.0.0 immutable: 5.1.9 - source-map-js: 1.2.1 + source-map-js: 1.2.2 optionalDependencies: '@parcel/watcher': 2.6.0 optional: true @@ -19543,7 +19559,7 @@ snapshots: setprototypeof@1.2.0: {} - shaka-player@5.2.4: {} + shaka-player@5.2.12: {} shallow-clone@3.0.1: dependencies: @@ -19680,6 +19696,9 @@ snapshots: source-map-js@1.2.1: {} + source-map-js@1.2.2: + optional: true + source-map-support@0.5.19: dependencies: buffer-from: 1.1.2