agentroam-runtime-darwin-arm64 0.2.0-preview.71 → 0.2.0-preview.73
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/manifest.json +3 -2
- package/package.json +1 -1
- package/runtime/.next/BUILD_ID +1 -1
- package/runtime/.next/app-build-manifest.json +10 -10
- package/runtime/.next/app-path-routes-manifest.json +1 -1
- package/runtime/.next/build-manifest.json +5 -5
- package/runtime/.next/prerender-manifest.json +1 -1
- package/runtime/.next/required-server-files.json +1 -1
- package/runtime/.next/routes-manifest.json +1 -1
- package/runtime/.next/server/app/_not-found/page.js +1 -1
- package/runtime/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/runtime/.next/server/app/_not-found.html +1 -1
- package/runtime/.next/server/app/_not-found.rsc +1 -1
- package/runtime/.next/server/app/api/agent/abort/route.js +1 -1
- package/runtime/.next/server/app/api/agent/answer/route.js +1 -1
- package/runtime/.next/server/app/api/agent/codex-sharing/route.js +1 -1
- package/runtime/.next/server/app/api/agent/harness/status/route.js +1 -1
- package/runtime/.next/server/app/api/agent/model/route.js +1 -1
- package/runtime/.next/server/app/api/agent/models/route.js +1 -1
- package/runtime/.next/server/app/api/agent/run/route.js +1 -1
- package/runtime/.next/server/app/api/agent/runtime-health/route.js +1 -1
- package/runtime/.next/server/app/api/agent/steer/route.js +1 -1
- package/runtime/.next/server/app/api/agent/stream/route.js +4 -4
- package/runtime/.next/server/app/api/agent-workspaces/[workspaceId]/sessions/route.js +1 -1
- package/runtime/.next/server/app/api/agent-workspaces/route.js +1 -1
- package/runtime/.next/server/app/api/auth/verify/route.js +1 -1
- package/runtime/.next/server/app/api/business/route.js +1 -1
- package/runtime/.next/server/app/api/client-logs/route.js +1 -1
- package/runtime/.next/server/app/api/collaboration/route.js +11 -11
- package/runtime/.next/server/app/api/engine-threads/route.js +1 -0
- package/runtime/.next/server/app/api/engine-threads/route.js.nft.json +1 -0
- package/runtime/.next/server/app/api/engine-threads.body +1 -0
- package/runtime/.next/server/app/api/engine-threads.meta +1 -0
- package/runtime/.next/server/app/api/flow/v1/catalog/route.js +1 -1
- package/runtime/.next/server/app/api/flow/v1/runs/[runId]/cancel/route.js +1 -1
- package/runtime/.next/server/app/api/flow/v1/runs/[runId]/events/route.js +3 -3
- package/runtime/.next/server/app/api/flow/v1/runs/route.js +1 -1
- package/runtime/.next/server/app/api/flow-studio/config/route.js +1 -1
- package/runtime/.next/server/app/api/mcp/connect/route.js +1 -1
- package/runtime/.next/server/app/api/mcp/disconnect/route.js +1 -1
- package/runtime/.next/server/app/api/mcp/servers/route.js +1 -1
- package/runtime/.next/server/app/api/memory/[key]/route.js +1 -1
- package/runtime/.next/server/app/api/memory/route.js +1 -1
- package/runtime/.next/server/app/api/messaging/route.js +1 -0
- package/runtime/.next/server/app/api/messaging/route.js.nft.json +1 -0
- package/runtime/.next/server/app/api/plugins/load/route.js +1 -1
- package/runtime/.next/server/app/api/projects/[id]/route.js +1 -1
- package/runtime/.next/server/app/api/projects/check/route.js +1 -1
- package/runtime/.next/server/app/api/projects/directories/route.js +1 -1
- package/runtime/.next/server/app/api/projects/roots/route.js +1 -1
- package/runtime/.next/server/app/api/projects/route.js +1 -1
- package/runtime/.next/server/app/api/push/subscribe/route.js +2 -2
- package/runtime/.next/server/app/api/push/unsubscribe/route.js +3 -3
- package/runtime/.next/server/app/api/push/vapid/route.js +2 -2
- package/runtime/.next/server/app/api/push/vapid.body +1 -1
- package/runtime/.next/server/app/api/remote-tools/register/route.js +1 -1
- package/runtime/.next/server/app/api/sessions/[id]/background-jobs/[jobId]/route.js +1 -1
- package/runtime/.next/server/app/api/sessions/[id]/background-jobs/[jobId]/stop/route.js +1 -1
- package/runtime/.next/server/app/api/sessions/[id]/background-jobs/route.js +1 -1
- package/runtime/.next/server/app/api/sessions/[id]/changes/route.js +2 -2
- package/runtime/.next/server/app/api/sessions/[id]/engine-switches/route.js +1 -0
- package/runtime/.next/server/app/api/sessions/[id]/engine-switches/route.js.nft.json +1 -0
- package/runtime/.next/server/app/api/sessions/[id]/fork/route.js +1 -1
- package/runtime/.next/server/app/api/sessions/[id]/fork-at/route.js +1 -1
- package/runtime/.next/server/app/api/sessions/[id]/goals/route.js +1 -1
- package/runtime/.next/server/app/api/sessions/[id]/handoff/route.js +1 -1
- package/runtime/.next/server/app/api/sessions/[id]/native-goal/route.js +1 -1
- package/runtime/.next/server/app/api/sessions/[id]/query-index/route.js +1 -1
- package/runtime/.next/server/app/api/sessions/[id]/query-index/route.js.nft.json +1 -1
- package/runtime/.next/server/app/api/sessions/[id]/release/route.js +1 -1
- package/runtime/.next/server/app/api/sessions/[id]/route.js +1 -1
- package/runtime/.next/server/app/api/sessions/[id]/route.js.nft.json +1 -1
- package/runtime/.next/server/app/api/sessions/[id]/switch-engine/route.js +1 -0
- package/runtime/.next/server/app/api/sessions/[id]/switch-engine/route.js.nft.json +1 -0
- package/runtime/.next/server/app/api/sessions/[id]/thread-goal/route.js +1 -1
- package/runtime/.next/server/app/api/sessions/[id]/thread-history/route.js +1 -0
- package/runtime/.next/server/app/api/sessions/[id]/thread-history/route.js.nft.json +1 -0
- package/runtime/.next/server/app/api/sessions/[id]/tool-result/route.js +1 -1
- package/runtime/.next/server/app/api/sessions/[id]/tool-result/route.js.nft.json +1 -1
- package/runtime/.next/server/app/api/sessions/parallel/route.js +1 -0
- package/runtime/.next/server/app/api/sessions/parallel/route.js.nft.json +1 -0
- package/runtime/.next/server/app/api/sessions/route.js +1 -1
- package/runtime/.next/server/app/api/settings/route.js +1 -1
- package/runtime/.next/server/app/api/skills/route.js +1 -1
- package/runtime/.next/server/app/api/tool-policies/[policyId]/route.js +1 -1
- package/runtime/.next/server/app/api/tool-policies/route.js +1 -1
- package/runtime/.next/server/app/api/tools/route.js +1 -1
- package/runtime/.next/server/app/api/update/check/route.js +1 -1
- package/runtime/.next/server/app/api/update/install/route.js +1 -1
- package/runtime/.next/server/app/api/update/status/route.js +1 -1
- package/runtime/.next/server/app/api/web-auth/login/route.js +1 -1
- package/runtime/.next/server/app/api/web-auth/logout/route.js +1 -1
- package/runtime/.next/server/app/api/web-auth/revoke-all/route.js +1 -1
- package/runtime/.next/server/app/api/web-auth/setup/route.js +1 -1
- package/runtime/.next/server/app/api/web-auth/status/route.js +1 -1
- package/runtime/.next/server/app/api/web-console/bootstrap/route.js +1 -1
- package/runtime/.next/server/app/api/web-console/computer-settings/route.js +1 -1
- package/runtime/.next/server/app/api/web-console/computers/route.js +1 -1
- package/runtime/.next/server/app/api/web-console/device-state/route.js +1 -1
- package/runtime/.next/server/app/api/web-console/history/route.js +1 -1
- package/runtime/.next/server/app/api/web-console/preferences/route.js +1 -1
- package/runtime/.next/server/app/web/page.js +13 -21
- package/runtime/.next/server/app/web/page_client-reference-manifest.js +1 -1
- package/runtime/.next/server/app-paths-manifest.json +46 -40
- package/runtime/.next/server/chunks/1614.js +1 -1
- package/runtime/.next/server/chunks/5303.js +2 -2
- package/runtime/.next/server/chunks/5762.js +18 -0
- package/runtime/.next/server/chunks/732.js +1 -1
- package/runtime/.next/server/chunks/7519.js +3 -3
- package/runtime/.next/server/middleware-build-manifest.js +1 -1
- package/runtime/.next/server/pages/404.html +1 -1
- package/runtime/.next/server/pages/500.html +1 -1
- package/runtime/.next/server/server-reference-manifest.json +1 -1
- package/runtime/.next/static/chunks/333-9881c3d2c558a28d.js +1 -0
- package/runtime/.next/static/chunks/app/web/{error-6470e38a145095eb.js → error-077f54cd48d5a6c2.js} +1 -1
- package/runtime/.next/static/chunks/app/web/layout-ebfc3a207c355453.js +1 -0
- package/runtime/.next/static/chunks/app/web/page-b456468be8e8e8fa.js +1 -0
- package/runtime/.next/static/chunks/{main-0de4062ff39c4193.js → main-93c452d518291b1c.js} +1 -1
- package/runtime/.next/static/chunks/{main-app-41078426602904fd.js → main-app-20135c1d85680f16.js} +1 -1
- package/runtime/.next/static/css/50f255aa50ec70d1.css +1 -0
- package/runtime/lib/browser-live/viewer-frame-flow.mjs +10 -2
- package/runtime/lib/browser-live/viewer-video-flow.mjs +11 -0
- package/runtime/lib/remote-control/application/compound-video-session.mjs +383 -0
- package/runtime/lib/remote-control/application/paced-video-sender.mjs +261 -0
- package/runtime/lib/remote-control/application/remote-hover-dispatch.mjs +26 -0
- package/runtime/lib/remote-control/application/remote-video-session.mjs +232 -37
- package/runtime/lib/remote-control/helper-manager.mjs +5 -1
- package/runtime/lib/remote-control/infrastructure/compound-compression.mjs +20 -0
- package/runtime/lib/remote-control/infrastructure/native-compound-video.mjs +44 -0
- package/runtime/lib/remote-control/infrastructure/native-video-encoder.mjs +62 -8
- package/runtime/lib/remote-control/infrastructure/werift-video-feedback.mjs +98 -0
- package/runtime/lib/remote-control/infrastructure/werift-video-recovery.mjs +108 -0
- package/runtime/lib/remote-control/infrastructure/werift-video-transport.mjs +310 -24
- package/runtime/lib/remote-control/remote-authorization.mjs +55 -12
- package/runtime/lib/remote-control/remote-video-signal.mjs +25 -1
- package/runtime/lib/remote-control/webrtc-video.mjs +3 -1
- package/runtime/lib/remote-control/windows-helper.mjs +11 -2
- package/runtime/lib/web-app-cache.mjs +6 -0
- package/runtime/native/Support.noindex/AgentRoam Remote Desktop.app/Contents/MacOS/agentroam-remote-desktop +0 -0
- package/runtime/native/Support.noindex/AgentRoam Remote Desktop.app/Contents/Resources/agentroam-component.json +1 -1
- package/runtime/native/Support.noindex/AgentRoam Remote Desktop.app/Contents/_CodeSignature/CodeResources +2 -2
- package/runtime/native/Support.noindex/WeComSendBridge.app/Contents/Info.plist +13 -0
- package/runtime/native/Support.noindex/WeComSendBridge.app/Contents/MacOS/NativeAXBridge +0 -0
- package/runtime/native/Support.noindex/WeComSendBridge.app/Contents/Resources/agentroam-component.json +4 -0
- package/runtime/native/Support.noindex/WeComSendBridge.app/Contents/_CodeSignature/CodeResources +128 -0
- package/runtime/node_modules/.package-lock.json +36 -30
- package/runtime/node_modules/@agent/core/dist/index.js +3638 -271
- package/runtime/node_modules/@agent/messaging/dist/assets/wecom/NativeAXBridge.swift +240 -0
- package/runtime/node_modules/@agent/messaging/dist/assets/wecom/codec.py +133 -0
- package/runtime/node_modules/@agent/messaging/dist/assets/wecom/native_sender.py +445 -0
- package/runtime/node_modules/@agent/messaging/dist/assets/wecom/reader.py +479 -0
- package/runtime/node_modules/@agent/messaging/dist/assets/wecom//351/235/231/346/200/201/350/265/204/346/226/231/350/257/273/345/217/226/350/257/264/346/230/216.md +34 -0
- package/runtime/node_modules/@agent/messaging/dist/index.js +1219 -0
- package/runtime/node_modules/@agent/messaging/package.json +7 -0
- package/runtime/node_modules/@agent/native-runtime/dist/index.js +6540 -912
- package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/README.md +1 -1
- package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/bridge.mjs +108 -82
- package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/browser-sdk.js +78 -67
- package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-0a66n3e7.mjs +16 -0
- package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-0bmnpbz2.mjs +45 -0
- package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/{core-jf0rbr11.mjs → core-9je8ee1j.mjs} +2 -3
- package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-ds2jqcef.mjs +19 -0
- package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-fxa8mwbm.mjs +18 -0
- package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-gbbw9cgm.mjs +17 -0
- package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-msnqqcc2.mjs +42 -0
- package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-wadgcjfh.mjs +18 -0
- package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-x20yarwf.mjs +17 -0
- package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-x3hc9abc.mjs +17 -0
- package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-zg882d22.mjs +16 -0
- package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core.mjs +11 -11
- package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/manifest.json +36 -28
- package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/manifest.zst.json +40 -32
- package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/package.json +21 -14
- package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/sdk.mjs +97 -83
- package/runtime/node_modules/caniuse-lite/data/agents.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/browserVersions.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/aac.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/abortcontroller.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/ac3-ec3.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/accelerometer.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/addeventlistener.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/alternate-stylesheet.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/ambient-light.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/apng.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/array-find-index.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/array-find.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/array-flat.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/array-includes.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/arrow-functions.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/asmjs.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/async-clipboard.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/async-functions.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/atob-btoa.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/audio-api.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/audio.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/audiotracks.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/autofocus.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/auxclick.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/av1.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/av2.js +1 -0
- package/runtime/node_modules/caniuse-lite/data/features/avif.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/background-attachment.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/background-clip-text.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/background-img-opts.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/background-position-x-y.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/background-repeat-round-space.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/background-sync.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/battery-status.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/beacon.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/beforeafterprint.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/bigint.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/blobbuilder.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/bloburls.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/border-image.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/border-radius.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/broadcastchannel.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/brotli.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/calc.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/canvas-blending.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/canvas-text.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/canvas.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/ch-unit.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/chacha20-poly1305.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/channel-messaging.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/childnode-remove.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/classlist.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/client-hints-dpr-width-viewport.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/clipboard.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/colr-v1.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/colr.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/comparedocumentposition.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/console-basic.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/console-time.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/const.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/constraint-validation.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/contenteditable.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/contentsecuritypolicy.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/contentsecuritypolicy2.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/cookie-store-api.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/cors.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/createimagebitmap.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/credential-management.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/cross-document-view-transitions.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/cryptography.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-all.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-anchor-positioning.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-animation.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-any-link.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-appearance.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-at-counter-style.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-autofill.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-backdrop-filter.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-background-offsets.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-backgroundblendmode.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-boxdecorationbreak.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-boxshadow.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-canvas.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-caret-color.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-cascade-layers.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-cascade-scope.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-case-insensitive.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-clip-path.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-color-adjust.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-color-function.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-conic-gradients.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-container-queries-style.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-container-queries.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-container-query-units.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-containment.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-content-visibility.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-counters.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-crisp-edges.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-cross-fade.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-default-pseudo.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-descendant-gtgt.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-deviceadaptation.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-dir-pseudo.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-display-contents.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-element-function.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-env-function.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-exclusions.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-featurequeries.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-file-selector-button.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-filter-function.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-filters.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-first-letter.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-first-line.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-fixed.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-focus-visible.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-focus-within.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-font-palette.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-font-rendering-controls.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-font-stretch.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-gencontent.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-gradients.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-grid-animation.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-grid-lanes.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-grid.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-hanging-punctuation.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-has.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-hyphens.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-if.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-image-orientation.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-image-set.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-in-out-of-range.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-indeterminate-pseudo.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-initial-letter.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-initial-value.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-lch-lab.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-letter-spacing.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-line-clamp.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-logical-props.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-marker-pseudo.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-masks.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-matches-pseudo.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-math-functions.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-media-interaction.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-media-range-syntax.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-media-resolution.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-media-scripting.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-mediaqueries.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-mixblendmode.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-module-scripts.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-motion-paths.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-namespaces.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-nesting.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-not-sel-list.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-nth-child-of.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-opacity.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-optional-pseudo.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-overflow-anchor.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-overflow-overlay.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-overflow.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-overscroll-behavior.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-page-break.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-paged-media.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-paint-api.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-placeholder-shown.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-placeholder.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-print-color-adjust.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-read-only-write.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-rebeccapurple.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-reflections.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-regions.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-relative-colors.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-repeating-gradients.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-resize.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-revert-value.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-rrggbbaa.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-scroll-behavior.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-scrollbar.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-sel2.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-sel3.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-selection.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-shapes.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-snappoints.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-sticky.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-subgrid.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-supports-api.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-table.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-text-align-last.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-text-box-trim.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-text-indent.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-text-justify.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-text-orientation.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-text-spacing.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-text-wrap-balance.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-textshadow.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-touch-action.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-transitions.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-unicode-bidi.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-unset-value.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-variables.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-when-else.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-widows-orphans.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-width-stretch.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-writing-mode.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-zoom.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css3-attr.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css3-boxsizing.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css3-colors.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css3-cursors-grab.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css3-cursors-newer.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css3-cursors.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css3-tabsize.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/currentcolor.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/custom-elements.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/custom-elementsv1.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/customevent.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/customizable-select.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/datalist.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/dataset.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/datauri.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/date-tolocaledatestring.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/declarative-shadow-dom.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/decorators.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/details.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/deviceorientation.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/devicepixelratio.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/dialog.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/dispatchevent.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/dnssec.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/do-not-track.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/document-currentscript.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/document-evaluate-xpath.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/document-execcommand.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/document-policy.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/document-scrollingelement.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/documenthead.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/dom-manip-convenience.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/dom-range.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/domcontentloaded.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/dommatrix.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/download.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/dragndrop.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/element-closest.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/element-from-point.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/element-scroll-methods.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/eme.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/eot.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/es5.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/es6-class.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/es6-generators.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/es6-module-dynamic-import.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/es6-module.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/es6-number.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/es6-string-includes.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/es6.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/eventsource.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/extended-system-fonts.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/feature-policy.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/fetch.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/fieldset-disabled.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/fileapi.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/filereader.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/filereadersync.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/filesystem.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/flac.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/flexbox-gap.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/flexbox.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/flow-root.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/focusin-focusout-events.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/font-family-system-ui.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/font-feature.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/font-kerning.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/font-loading.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/font-size-adjust.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/font-smooth.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/font-unicode-range.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/font-variant-alternates.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/font-variant-numeric.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/fontface.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/form-attribute.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/form-submit-attributes.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/form-validation.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/forms.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/fullscreen.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/gamepad.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/geolocation.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/getboundingclientrect.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/getcomputedstyle.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/getelementsbyclassname.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/getrandomvalues.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/gyroscope.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/hardwareconcurrency.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/hashchange.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/heif.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/hevc.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/hidden.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/high-resolution-time.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/history.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/html-media-capture.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/html5semantic.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/http-live-streaming.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/http2.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/http3.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/iframe-sandbox.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/iframe-seamless.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/iframe-srcdoc.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/imagecapture.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/ime.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/img-naturalwidth-naturalheight.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/import-maps.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/imports.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/indeterminate-checkbox.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/indexeddb.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/indexeddb2.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/inline-block.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/innertext.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/input-autocomplete-onoff.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/input-color.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/input-datetime.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/input-email-tel-url.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/input-event.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/input-file-accept.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/input-file-directory.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/input-file-multiple.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/input-inputmode.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/input-minlength.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/input-number.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/input-pattern.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/input-placeholder.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/input-range.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/input-search.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/input-selection.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/insert-adjacent.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/insertadjacenthtml.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/internationalization.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/intersectionobserver-v2.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/intersectionobserver.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/intl-pluralrules.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/intrinsic-width.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/jpeg2000.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/jpegxl.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/jpegxr.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/js-regexp-lookbehind.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/json.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/justify-content-space-evenly.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/kerning-pairs-ligatures.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/keyboardevent-charcode.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/keyboardevent-code.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/keyboardevent-getmodifierstate.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/keyboardevent-key.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/keyboardevent-location.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/keyboardevent-which.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/lazyload.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/let.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/link-icon-png.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/link-icon-svg.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/link-rel-dns-prefetch.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/link-rel-modulepreload.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/link-rel-preconnect.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/link-rel-prefetch.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/link-rel-preload.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/link-rel-prerender.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/loading-lazy-attr.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/loading-lazy-media.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/localecompare.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/magnetometer.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/matchesselector.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/matchmedia.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/mathml.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/maxlength.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/mdn-css-backdrop-pseudo-element.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-isolate-override.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-isolate.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-plaintext.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/mdn-text-decoration-color.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/mdn-text-decoration-line.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/mdn-text-decoration-shorthand.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/mdn-text-decoration-style.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/media-fragments.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/mediacapture-fromelement.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/mediarecorder.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/mediasource.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/menu.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/meta-theme-color.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/meter.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/midi.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/minmaxwh.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/mp3.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/mpeg-dash.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/mpeg4.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/multibackgrounds.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/multicolumn.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/mutation-events.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/mutationobserver.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/namevalue-storage.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/native-filesystem-api.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/nav-timing.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/netinfo.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/notifications.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/object-entries.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/object-fit.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/object-observe.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/object-values.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/objectrtc.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/offline-apps.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/offscreencanvas.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/ogg-vorbis.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/ogv.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/ol-reversed.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/once-event-listener.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/online-status.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/opus.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/orientation-sensor.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/outline.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/pad-start-end.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/page-transition-events.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/pagevisibility.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/passive-event-listener.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/passkeys.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/passwordrules.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/path2d.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/payment-request.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/pdf-viewer.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/permissions-api.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/permissions-policy.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/picture-in-picture.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/picture.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/ping.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/png-alpha.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/pointer-events.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/pointer.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/pointerlock.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/portals.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/prefers-color-scheme.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/prefers-reduced-motion.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/progress.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/promise-finally.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/promises.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/proximity.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/proxy.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/publickeypinning.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/push-api.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/queryselector.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/readonly-attr.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/referrer-policy.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/registerprotocolhandler.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/rel-noopener.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/rel-noreferrer.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/rellist.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/rem.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/requestanimationframe.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/requestidlecallback.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/resizeobserver.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/resource-timing.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/rest-parameters.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/rtcpeerconnection.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/ruby.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/run-in.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/same-site-cookie-attribute.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/screen-orientation.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/script-async.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/script-defer.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/scrollintoview.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/scrollintoviewifneeded.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/sdch.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/selection-api.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/server-timing.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/serviceworkers.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/setimmediate.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/shadowdom.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/shadowdomv1.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/sharedarraybuffer.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/sharedworkers.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/sni.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/spdy.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/speech-recognition.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/speech-synthesis.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/spellcheck-attribute.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/sql-storage.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/srcset.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/stream.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/streams.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/stricttransportsecurity.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/style-scoped.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/subresource-bundling.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/subresource-integrity.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/svg-css.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/svg-filters.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/svg-fonts.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/svg-fragment.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/svg-html.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/svg-html5.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/svg-img.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/svg-smil.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/svg.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/sxg.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/tabindex-attr.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/template-literals.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/template.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/temporal.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/testfeat.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/text-decoration.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/text-emphasis.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/text-overflow.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/text-size-adjust.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/text-stroke.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/textcontent.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/textencoder.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/tls1-1.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/tls1-2.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/tls1-3.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/touch.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/transforms2d.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/transforms3d.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/trusted-types.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/ttf.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/typedarrays.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/u2f.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/unhandledrejection.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/upgradeinsecurerequests.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/url-scroll-to-text-fragment.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/url.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/urlsearchparams.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/use-strict.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/user-select-none.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/user-timing.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/variable-fonts.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/vector-effect.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/vibration.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/video.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/videotracks.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/view-transitions.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/viewport-unit-variants.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/viewport-units.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/wai-aria.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/wake-lock.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/wasm-bigint.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/wasm-bulk-memory.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/wasm-extended-const.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/wasm-gc.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/wasm-multi-memory.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/wasm-multi-value.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/wasm-mutable-globals.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/wasm-nontrapping-fptoint.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/wasm-reference-types.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/wasm-relaxed-simd.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/wasm-signext.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/wasm-simd.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/wasm-tail-calls.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/wasm-threads.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/wasm.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/wav.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/wbr-element.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/web-animation.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/web-app-manifest.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/web-bluetooth.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/web-serial.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/web-share.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/webauthn.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/webcodecs.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/webgl.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/webgl2.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/webgpu.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/webhid.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/webkit-user-drag.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/webm.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/webnfc.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/webp.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/websockets.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/webtransport.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/webusb.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/webvr.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/webvtt.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/webworkers.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/webxr.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/will-change.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/woff.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/woff2.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/word-break.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/wordwrap.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/x-doc-messaging.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/x-frame-options.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/xhr2.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/xhtml.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/xhtmlsmil.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/xml-serializer.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/zstd.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/AD.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/AE.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/AF.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/AG.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/AI.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/AL.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/AM.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/AO.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/AR.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/AS.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/AT.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/AU.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/AW.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/AX.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/AZ.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/BA.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/BB.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/BD.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/BE.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/BF.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/BG.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/BH.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/BI.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/BJ.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/BM.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/BN.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/BO.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/BR.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/BS.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/BT.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/BW.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/BY.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/BZ.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/CA.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/CD.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/CF.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/CG.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/CH.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/CI.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/CK.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/CL.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/CM.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/CN.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/CO.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/CR.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/CU.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/CV.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/CX.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/CY.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/CZ.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/DE.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/DJ.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/DK.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/DM.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/DO.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/DZ.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/EC.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/EE.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/EG.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/ER.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/ES.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/ET.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/FI.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/FJ.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/FK.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/FM.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/FO.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/FR.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/GA.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/GB.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/GD.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/GE.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/GF.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/GG.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/GH.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/GI.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/GL.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/GM.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/GN.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/GP.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/GQ.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/GR.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/GT.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/GU.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/GW.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/GY.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/HK.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/HN.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/HR.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/HT.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/HU.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/ID.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/IE.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/IL.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/IM.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/IN.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/IQ.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/IR.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/IS.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/IT.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/JE.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/JM.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/JO.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/JP.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/KE.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/KG.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/KH.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/KI.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/KM.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/KN.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/KP.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/KR.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/KW.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/KY.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/KZ.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/LA.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/LB.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/LC.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/LI.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/LK.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/LR.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/LS.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/LT.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/LU.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/LV.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/LY.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/MA.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/MC.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/MD.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/ME.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/MG.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/MH.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/MK.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/ML.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/MM.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/MN.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/MO.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/MP.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/MQ.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/MR.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/MS.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/MT.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/MU.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/MV.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/MW.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/MX.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/MY.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/MZ.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/NA.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/NC.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/NE.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/NF.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/NG.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/NI.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/NL.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/NO.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/NP.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/NR.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/NU.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/NZ.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/OM.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/PA.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/PE.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/PF.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/PG.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/PH.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/PK.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/PL.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/PM.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/PN.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/PR.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/PS.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/PT.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/PW.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/PY.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/QA.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/RE.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/RO.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/RS.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/RU.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/RW.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/SA.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/SB.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/SC.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/SD.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/SE.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/SG.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/SH.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/SI.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/SK.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/SL.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/SM.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/SN.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/SO.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/SR.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/ST.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/SV.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/SY.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/SZ.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/TC.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/TD.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/TG.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/TH.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/TJ.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/TL.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/TM.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/TN.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/TO.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/TR.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/TT.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/TV.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/TW.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/TZ.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/UA.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/UG.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/US.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/UY.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/UZ.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/VA.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/VC.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/VE.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/VG.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/VI.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/VN.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/VU.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/WF.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/WS.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/YE.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/YT.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/ZA.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/ZM.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/ZW.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/alt-af.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/alt-an.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/alt-as.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/alt-eu.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/alt-na.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/alt-oc.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/alt-sa.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/regions/alt-ww.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/versionGroups.js +1 -1
- package/runtime/node_modules/caniuse-lite/package.json +1 -1
- package/runtime/node_modules/graceful-fs/LICENSE.md +55 -0
- package/runtime/node_modules/graceful-fs/package.json +3 -4
- package/runtime/node_modules/mediabunny/README.md +1 -5
- package/runtime/node_modules/mediabunny/dist/bundles/mediabunny.cjs +4601 -2703
- package/runtime/node_modules/mediabunny/dist/bundles/mediabunny.min.cjs +30 -24
- package/runtime/node_modules/mediabunny/dist/bundles/mediabunny.min.mjs +30 -24
- package/runtime/node_modules/mediabunny/dist/bundles/mediabunny.mjs +4601 -2703
- package/runtime/node_modules/mediabunny/dist/bundles/mediabunny.node.cjs +4601 -2703
- package/runtime/node_modules/mediabunny/dist/modules/shared/aac-misc.js +202 -5
- package/runtime/node_modules/mediabunny/dist/modules/shared/bitstream.js +4 -3
- package/runtime/node_modules/mediabunny/dist/modules/shared/dts-misc.js +7 -8
- package/runtime/node_modules/mediabunny/dist/modules/shared/mp3-misc.js +7 -1
- package/runtime/node_modules/mediabunny/dist/modules/src/adts/adts-demuxer.js +60 -41
- package/runtime/node_modules/mediabunny/dist/modules/src/adts/adts-muxer.js +12 -8
- package/runtime/node_modules/mediabunny/dist/modules/src/adts/adts-reader.js +39 -5
- package/runtime/node_modules/mediabunny/dist/modules/src/aes.js +53 -40
- package/runtime/node_modules/mediabunny/dist/modules/src/codec-data.js +220 -48
- package/runtime/node_modules/mediabunny/dist/modules/src/codec.js +80 -54
- package/runtime/node_modules/mediabunny/dist/modules/src/conversion.js +182 -106
- package/runtime/node_modules/mediabunny/dist/modules/src/decode.js +14 -8
- package/runtime/node_modules/mediabunny/dist/modules/src/encode.js +22 -9
- package/runtime/node_modules/mediabunny/dist/modules/src/flac/flac-demuxer.js +16 -13
- package/runtime/node_modules/mediabunny/dist/modules/src/flac/flac-misc.js +3 -2
- package/runtime/node_modules/mediabunny/dist/modules/src/flac/flac-muxer.js +40 -26
- package/runtime/node_modules/mediabunny/dist/modules/src/hls/hls-demuxer.js +129 -115
- package/runtime/node_modules/mediabunny/dist/modules/src/hls/hls-muxer.js +392 -326
- package/runtime/node_modules/mediabunny/dist/modules/src/hls/hls-segmented-input.js +27 -24
- package/runtime/node_modules/mediabunny/dist/modules/src/id3.js +111 -33
- package/runtime/node_modules/mediabunny/dist/modules/src/input-format.js +81 -149
- package/runtime/node_modules/mediabunny/dist/modules/src/input-track.js +48 -15
- package/runtime/node_modules/mediabunny/dist/modules/src/input.js +37 -15
- package/runtime/node_modules/mediabunny/dist/modules/src/isobmff/isobmff-boxes.js +104 -20
- package/runtime/node_modules/mediabunny/dist/modules/src/isobmff/isobmff-demuxer.js +423 -292
- package/runtime/node_modules/mediabunny/dist/modules/src/isobmff/isobmff-misc.js +11 -2
- package/runtime/node_modules/mediabunny/dist/modules/src/isobmff/isobmff-muxer.js +257 -163
- package/runtime/node_modules/mediabunny/dist/modules/src/matroska/ebml.js +93 -32
- package/runtime/node_modules/mediabunny/dist/modules/src/matroska/matroska-demuxer.js +284 -191
- package/runtime/node_modules/mediabunny/dist/modules/src/matroska/matroska-muxer.js +129 -116
- package/runtime/node_modules/mediabunny/dist/modules/src/media-sink.js +216 -136
- package/runtime/node_modules/mediabunny/dist/modules/src/media-source.js +255 -135
- package/runtime/node_modules/mediabunny/dist/modules/src/metadata.js +6 -0
- package/runtime/node_modules/mediabunny/dist/modules/src/misc.js +96 -49
- package/runtime/node_modules/mediabunny/dist/modules/src/mp3/mp3-demuxer.js +101 -29
- package/runtime/node_modules/mediabunny/dist/modules/src/mp3/mp3-muxer.js +18 -9
- package/runtime/node_modules/mediabunny/dist/modules/src/mp3/mp3-reader.js +45 -2
- package/runtime/node_modules/mediabunny/dist/modules/src/mp3/mp3-writer.js +9 -2
- package/runtime/node_modules/mediabunny/dist/modules/src/mpeg-ts/mpeg-ts-demuxer.js +253 -254
- package/runtime/node_modules/mediabunny/dist/modules/src/mpeg-ts/mpeg-ts-misc.js +5 -10
- package/runtime/node_modules/mediabunny/dist/modules/src/mpeg-ts/mpeg-ts-muxer.js +69 -43
- package/runtime/node_modules/mediabunny/dist/modules/src/muxer.js +52 -23
- package/runtime/node_modules/mediabunny/dist/modules/src/ogg/ogg-demuxer.js +89 -57
- package/runtime/node_modules/mediabunny/dist/modules/src/ogg/ogg-misc.js +1 -1
- package/runtime/node_modules/mediabunny/dist/modules/src/ogg/ogg-muxer.js +183 -73
- package/runtime/node_modules/mediabunny/dist/modules/src/output-format.js +70 -5
- package/runtime/node_modules/mediabunny/dist/modules/src/output.js +54 -29
- package/runtime/node_modules/mediabunny/dist/modules/src/packet.js +1 -1
- package/runtime/node_modules/mediabunny/dist/modules/src/resample.js +1 -0
- package/runtime/node_modules/mediabunny/dist/modules/src/sample.js +85 -42
- package/runtime/node_modules/mediabunny/dist/modules/src/segmented-input.js +40 -21
- package/runtime/node_modules/mediabunny/dist/modules/src/source.js +188 -88
- package/runtime/node_modules/mediabunny/dist/modules/src/subtitles.js +15 -9
- package/runtime/node_modules/mediabunny/dist/modules/src/target.js +63 -39
- package/runtime/node_modules/mediabunny/dist/modules/src/tsconfig.tsbuildinfo +1 -1
- package/runtime/node_modules/mediabunny/dist/modules/src/version.js +1 -1
- package/runtime/node_modules/mediabunny/dist/modules/src/wave/wave-demuxer.js +77 -41
- package/runtime/node_modules/mediabunny/dist/modules/src/wave/wave-muxer.js +83 -20
- package/runtime/node_modules/mediabunny/dist/modules/src/writer.js +4 -1
- package/runtime/node_modules/mediabunny/package.json +17 -8
- package/runtime/node_modules/mediabunny/src/adts/adts-demuxer.ts +76 -47
- package/runtime/node_modules/mediabunny/src/adts/adts-muxer.ts +13 -11
- package/runtime/node_modules/mediabunny/src/adts/adts-reader.ts +54 -5
- package/runtime/node_modules/mediabunny/src/aes.ts +52 -39
- package/runtime/node_modules/mediabunny/src/codec-data.ts +249 -52
- package/runtime/node_modules/mediabunny/src/codec.ts +85 -58
- package/runtime/node_modules/mediabunny/src/conversion.ts +210 -104
- package/runtime/node_modules/mediabunny/src/decode.ts +15 -8
- package/runtime/node_modules/mediabunny/src/encode.ts +23 -14
- package/runtime/node_modules/mediabunny/src/flac/flac-demuxer.ts +21 -20
- package/runtime/node_modules/mediabunny/src/flac/flac-misc.ts +3 -2
- package/runtime/node_modules/mediabunny/src/flac/flac-muxer.ts +44 -29
- package/runtime/node_modules/mediabunny/src/hls/hls-demuxer.ts +161 -129
- package/runtime/node_modules/mediabunny/src/hls/hls-muxer.ts +453 -379
- package/runtime/node_modules/mediabunny/src/hls/hls-segmented-input.ts +35 -24
- package/runtime/node_modules/mediabunny/src/id3.ts +123 -35
- package/runtime/node_modules/mediabunny/src/input-format.ts +86 -170
- package/runtime/node_modules/mediabunny/src/input-track.ts +57 -17
- package/runtime/node_modules/mediabunny/src/input.ts +41 -17
- package/runtime/node_modules/mediabunny/src/isobmff/isobmff-boxes.ts +119 -20
- package/runtime/node_modules/mediabunny/src/isobmff/isobmff-demuxer.ts +521 -347
- package/runtime/node_modules/mediabunny/src/isobmff/isobmff-misc.ts +13 -4
- package/runtime/node_modules/mediabunny/src/isobmff/isobmff-muxer.ts +318 -191
- package/runtime/node_modules/mediabunny/src/matroska/ebml.ts +91 -38
- package/runtime/node_modules/mediabunny/src/matroska/matroska-demuxer.ts +331 -231
- package/runtime/node_modules/mediabunny/src/matroska/matroska-muxer.ts +155 -148
- package/runtime/node_modules/mediabunny/src/media-sink.ts +229 -146
- package/runtime/node_modules/mediabunny/src/media-source.ts +282 -145
- package/runtime/node_modules/mediabunny/src/metadata.ts +7 -1
- package/runtime/node_modules/mediabunny/src/misc.ts +122 -54
- package/runtime/node_modules/mediabunny/src/mp3/mp3-demuxer.ts +121 -33
- package/runtime/node_modules/mediabunny/src/mp3/mp3-muxer.ts +16 -12
- package/runtime/node_modules/mediabunny/src/mp3/mp3-reader.ts +66 -2
- package/runtime/node_modules/mediabunny/src/mp3/mp3-writer.ts +11 -2
- package/runtime/node_modules/mediabunny/src/mpeg-ts/mpeg-ts-demuxer.ts +295 -325
- package/runtime/node_modules/mediabunny/src/mpeg-ts/mpeg-ts-misc.ts +5 -14
- package/runtime/node_modules/mediabunny/src/mpeg-ts/mpeg-ts-muxer.ts +90 -51
- package/runtime/node_modules/mediabunny/src/muxer.ts +66 -34
- package/runtime/node_modules/mediabunny/src/ogg/ogg-demuxer.ts +92 -62
- package/runtime/node_modules/mediabunny/src/ogg/ogg-misc.ts +1 -1
- package/runtime/node_modules/mediabunny/src/ogg/ogg-muxer.ts +203 -88
- package/runtime/node_modules/mediabunny/src/output-format.ts +91 -7
- package/runtime/node_modules/mediabunny/src/output.ts +57 -30
- package/runtime/node_modules/mediabunny/src/packet.ts +1 -1
- package/runtime/node_modules/mediabunny/src/resample.ts +1 -0
- package/runtime/node_modules/mediabunny/src/sample.ts +105 -51
- package/runtime/node_modules/mediabunny/src/segmented-input.ts +50 -24
- package/runtime/node_modules/mediabunny/src/source.ts +227 -97
- package/runtime/node_modules/mediabunny/src/subtitles.ts +16 -9
- package/runtime/node_modules/mediabunny/src/target.ts +65 -41
- package/runtime/node_modules/mediabunny/src/version.ts +1 -1
- package/runtime/node_modules/mediabunny/src/wave/wave-demuxer.ts +103 -56
- package/runtime/node_modules/mediabunny/src/wave/wave-muxer.ts +88 -21
- package/runtime/node_modules/mediabunny/src/writer.ts +4 -1
- package/runtime/node_modules/sanitize-html/index.js +50 -20
- package/runtime/node_modules/sanitize-html/node_modules/postcss/lib/css-syntax-error.js +6 -4
- package/runtime/node_modules/sanitize-html/node_modules/postcss/lib/map-generator.js +12 -2
- package/runtime/node_modules/sanitize-html/node_modules/postcss/lib/processor.js +1 -1
- package/runtime/node_modules/sanitize-html/node_modules/postcss/lib/tokenize.js +6 -13
- package/runtime/node_modules/sanitize-html/node_modules/postcss/package.json +1 -1
- package/runtime/node_modules/sanitize-html/package.json +1 -1
- package/runtime/node_modules/ws/README.md +2 -3
- package/runtime/node_modules/ws/lib/receiver.js +8 -0
- package/runtime/node_modules/ws/lib/websocket-server.js +3 -0
- package/runtime/node_modules/ws/lib/websocket.js +58 -13
- package/runtime/node_modules/ws/package.json +1 -1
- package/runtime/node_modules/zstd-codec/index.js +4 -0
- package/runtime/node_modules/zstd-codec/lib/constants.js +2 -0
- package/runtime/node_modules/zstd-codec/lib/helpers.js +60 -0
- package/runtime/node_modules/zstd-codec/lib/module.js +27 -0
- package/runtime/node_modules/zstd-codec/lib/zstd-codec-binding-wasm.js +21 -0
- package/runtime/node_modules/zstd-codec/lib/zstd-codec-binding.js +63 -0
- package/runtime/node_modules/zstd-codec/lib/zstd-codec.js +363 -0
- package/runtime/node_modules/zstd-codec/lib/zstd-stream.js +116 -0
- package/runtime/node_modules/zstd-codec/package.json +29 -0
- package/runtime/package-lock.json +62 -55
- package/runtime/package.json +1 -0
- package/runtime/server.js +1 -1
- package/runtime/webapp/dist/assets/AIHubView-BQKD1oRa.js +1 -0
- package/runtime/webapp/dist/assets/AgentManager-eTCpLsYc.js +3 -0
- package/runtime/webapp/dist/assets/AiHubPane-LnfAKHOH.js +1 -0
- package/runtime/webapp/dist/assets/App-Cm4c_ukZ.js +177 -0
- package/runtime/webapp/dist/assets/App-CrZstnCH.css +1 -0
- package/runtime/webapp/dist/assets/BrowserLivePanel-BvXuMltx.js +56 -0
- package/runtime/webapp/dist/assets/CollaborationCreateDialog-0xwWJVAB.js +1 -0
- package/runtime/webapp/dist/assets/CollaborationDashboard-CDuqbRZZ.js +1 -0
- package/runtime/webapp/dist/assets/CollaborationPage-BLv1g5Ke.js +6 -0
- package/runtime/webapp/dist/assets/{FilePreview-BjbfWw2s.js → FilePreview-DIsjFx4f.js} +9 -14
- package/runtime/webapp/dist/assets/{FileTree-C6gg9p4m.js → FileTree-BJe67ELr.js} +2 -2
- package/runtime/webapp/dist/assets/FileWorkspaceDrawer-PtNe21oN.js +1 -0
- package/runtime/webapp/dist/assets/FlowStudioPane-DGv9czqf.js +5 -0
- package/runtime/webapp/dist/assets/LSPServerList-DZkbA5NX.js +4 -0
- package/runtime/webapp/dist/assets/MCPServerList-DLJUT0j8.js +8 -0
- package/runtime/webapp/dist/assets/MemoryViewer-B4synV6O.js +1 -0
- package/runtime/webapp/dist/assets/RemoteDesktopPage-Db8WVCjo.js +1 -0
- package/runtime/webapp/dist/assets/{smartphone-D7oS3YTz.js → RunningSessionsIcon-DRhO-CVq.js} +8 -18
- package/runtime/webapp/dist/assets/SessionDashboard-C6En31sg.js +21 -0
- package/runtime/webapp/dist/assets/SessionDashboard-CAYVDT8Z.css +1 -0
- package/runtime/webapp/dist/assets/{SessionDashboardBridge-DYsMZhuH.js → SessionDashboardBridge--lNIU1u6.js} +1 -1
- package/runtime/webapp/dist/assets/SettingsPanel-mJ5Ggwlp.js +4 -0
- package/runtime/webapp/dist/assets/SkillManager-C_mt62Rc.js +1 -0
- package/runtime/webapp/dist/assets/{TerminalPane-CPOiBcye.js → TerminalPane-D121NsSc.js} +2 -2
- package/runtime/webapp/dist/assets/{abnfDiagram-VCTEODGH-DCFFqJUU.js → abnfDiagram-VCTEODGH-CSTtPfA-.js} +1 -1
- package/runtime/webapp/dist/assets/arc-pE43fNGK.js +1 -0
- package/runtime/webapp/dist/assets/{architectureDiagram-5GKGNRK7-DoK3A_n1.js → architectureDiagram-5GKGNRK7-BlExjf1L.js} +1 -1
- package/runtime/webapp/dist/assets/{arrow-right-B0uCZ1Pd.js → arrow-right-CED95s1t.js} +1 -1
- package/runtime/webapp/dist/assets/{artifact-links-nzx7joYs.js → artifact-links-BWD7xpfV.js} +1 -1
- package/runtime/webapp/dist/assets/{blockDiagram-I7D4REHJ-DgXszyX7.js → blockDiagram-I7D4REHJ-4pzU0s_A.js} +1 -1
- package/runtime/webapp/dist/assets/{c4Diagram-7LVT6UL2-q7KO4v1Q.js → c4Diagram-7LVT6UL2-DBoJHf0c.js} +1 -1
- package/runtime/webapp/dist/assets/channel-C029kbz3.js +1 -0
- package/runtime/webapp/dist/assets/chevron-down-DuxUTH_N.js +6 -0
- package/runtime/webapp/dist/assets/{chunk-2Q5K7J3B-CH8lOKmL.js → chunk-2Q5K7J3B-Bu1Sc-w9.js} +1 -1
- package/runtime/webapp/dist/assets/{chunk-5VM5RSS4-DwP7xEWd.js → chunk-5VM5RSS4-COwAF0w2.js} +1 -1
- package/runtime/webapp/dist/assets/{chunk-F27PBJKO-BV3TTaxI.js → chunk-F27PBJKO-FLl8DRP2.js} +1 -1
- package/runtime/webapp/dist/assets/{chunk-IMKFNOWR-BbaiG4yG.js → chunk-IMKFNOWR-BL8M_b-w.js} +3 -3
- package/runtime/webapp/dist/assets/{chunk-JWPE2WC7-Dv9x27hI.js → chunk-JWPE2WC7-Bm0OpXaO.js} +1 -1
- package/runtime/webapp/dist/assets/{chunk-POPQ4Y6H-Uk-GiSLP.js → chunk-POPQ4Y6H-Be_mjw7_.js} +1 -1
- package/runtime/webapp/dist/assets/{chunk-SVP7TREG-lFcKEwyL.js → chunk-SVP7TREG-Dijp9l1U.js} +3 -3
- package/runtime/webapp/dist/assets/{chunk-TICWLB2K-DFZALWPC.js → chunk-TICWLB2K-CJDtjon2.js} +1 -1
- package/runtime/webapp/dist/assets/{chunk-XXDRQBXY-8jLPZkMb.js → chunk-XXDRQBXY-BLWOMtvS.js} +1 -1
- package/runtime/webapp/dist/assets/classDiagram-ZZMXUADV-DjlcT9EO.js +1 -0
- package/runtime/webapp/dist/assets/classDiagram-v2-VYDZK3BY-DjlcT9EO.js +1 -0
- package/runtime/webapp/dist/assets/clipboard-BvwmdR4z.js +1 -0
- package/runtime/webapp/dist/assets/{codeSyntax-Dgv0FfoZ.js → codeSyntax-BnmCqa8x.js} +3 -3
- package/runtime/webapp/dist/assets/{collaboration-f29NaKWy.js → collaboration-B0sTZDns.js} +2 -2
- package/runtime/webapp/dist/assets/collaboration-DkVTQ-wS.css +1 -0
- package/runtime/webapp/dist/assets/composer-file-routing-BrWLenKF.js +11 -0
- package/runtime/webapp/dist/assets/copilot-7BoBRmFo.png +0 -0
- package/runtime/webapp/dist/assets/{cose-bilkent-JH36ORCC-86P-lxD4.js → cose-bilkent-JH36ORCC-cA67vOKJ.js} +1 -1
- package/runtime/webapp/dist/assets/{cynefin-OW5HDTMX-mtRVdchl.js → cynefin-OW5HDTMX-BPeSii-l.js} +1 -1
- package/runtime/webapp/dist/assets/{cynefinDiagram-5FMLGOSQ-DhqAIoq6.js → cynefinDiagram-5FMLGOSQ-B9f094pg.js} +2 -2
- package/runtime/webapp/dist/assets/{dagre-GXQ25YYZ-DD9olCTy.js → dagre-GXQ25YYZ-C_xejuzH.js} +2 -2
- package/runtime/webapp/dist/assets/{diagram-S7CK7UJ4-CLGKipLp.js → diagram-S7CK7UJ4-0f77MjI_.js} +1 -1
- package/runtime/webapp/dist/assets/{diagram-UQ7AKVKN-Dm7uGpUO.js → diagram-UQ7AKVKN-B7qqB6UY.js} +1 -1
- package/runtime/webapp/dist/assets/{diagram-VSXAHHWV-OZYfwAth.js → diagram-VSXAHHWV-eS0I06tX.js} +1 -1
- package/runtime/webapp/dist/assets/{diagram-VX7I27RA-BpQqNFxQ.js → diagram-VX7I27RA-BzaPvwZL.js} +1 -1
- package/runtime/webapp/dist/assets/{diagram-Z3DM3KII-BrWsMYCU.js → diagram-Z3DM3KII-C_EAUyuK.js} +1 -1
- package/runtime/webapp/dist/assets/download-DNa5KRtu.js +6 -0
- package/runtime/webapp/dist/assets/{ebnfDiagram-PWID7BFC-BRH-K-J7.js → ebnfDiagram-PWID7BFC-CpSazgmq.js} +1 -1
- package/runtime/webapp/dist/assets/{erDiagram-RLTQ6QDP-BDNSVr6H.js → erDiagram-RLTQ6QDP-BbAq4dnX.js} +1 -1
- package/runtime/webapp/dist/assets/external-link-D0ZU8y72.js +6 -0
- package/runtime/webapp/dist/assets/{file-types-XHMBkbNr.js → file-types-Bv8xIlsm.js} +2 -2
- package/runtime/webapp/dist/assets/{flowDiagram-HODETNUW-DseLK02Y.js → flowDiagram-HODETNUW-FxtiM8S_.js} +5 -5
- package/runtime/webapp/dist/assets/{ganttDiagram-EL5Y4UJY-v_uNZx1g.js → ganttDiagram-EL5Y4UJY-vbQAmYA_.js} +2 -2
- package/runtime/webapp/dist/assets/{gitGraphDiagram-WWUBYQGX-EdvVYEMk.js → gitGraphDiagram-WWUBYQGX-CoH-vS6p.js} +1 -1
- package/runtime/webapp/dist/assets/image-plus-CMQPwQ1a.js +6 -0
- package/runtime/webapp/dist/assets/index-B_qrzBSm.js +489 -0
- package/runtime/webapp/dist/assets/index-DFMBt4EW.css +1 -0
- package/runtime/webapp/dist/assets/{infoDiagram-27XIBGKW-Ck26xp1i.js → infoDiagram-27XIBGKW-BhQjKjwI.js} +1 -1
- package/runtime/webapp/dist/assets/{ishikawaDiagram-5VMMS53U-DGnOVObq.js → ishikawaDiagram-5VMMS53U-Do6164Lq.js} +1 -1
- package/runtime/webapp/dist/assets/{journeyDiagram-3NMN7TZE-S7oKAQs8.js → journeyDiagram-3NMN7TZE-DU9terNG.js} +1 -1
- package/runtime/webapp/dist/assets/{kanban-definition-UXKFOSKX-DcrYA4VY.js → kanban-definition-UXKFOSKX-PIi78bMz.js} +5 -5
- package/runtime/webapp/dist/assets/layout-kIcBLq12.js +1 -0
- package/runtime/webapp/dist/assets/{linear-B-lEfto_.js → linear-DuoGw6Ne.js} +1 -1
- package/runtime/webapp/dist/assets/{loader-circle-DMWQZenY.js → loader-circle-CkN6rr8Q.js} +1 -1
- package/runtime/webapp/dist/assets/{mermaid.core-B3fzlEw9.js → mermaid.core-CMSVAwDO.js} +6 -6
- package/runtime/webapp/dist/assets/{mindmap-definition-YA3MSWOX-wJkCh55V.js → mindmap-definition-YA3MSWOX-BqXezPt8.js} +1 -1
- package/runtime/webapp/dist/assets/page-BJynASYd.js +91 -0
- package/runtime/webapp/dist/assets/{pegDiagram-XKGWAZYB-H4uk2OUO.js → pegDiagram-XKGWAZYB-CfhSiKuL.js} +1 -1
- package/runtime/webapp/dist/assets/pieDiagram-E7YTZNPT-D6dTu0HJ.js +39 -0
- package/runtime/webapp/dist/assets/{quadrantDiagram-AXDQQJYC-DyD93O4P.js → quadrantDiagram-AXDQQJYC-B6Nk3my2.js} +2 -2
- package/runtime/webapp/dist/assets/{railroadDiagram-O6MQD6OU-DZ833xbw.js → railroadDiagram-O6MQD6OU-9HdWlkSi.js} +1 -1
- package/runtime/webapp/dist/assets/{requirementDiagram-BXWQKSXE-DJV4nGui.js → requirementDiagram-BXWQKSXE-CJ72A4ch.js} +1 -1
- package/runtime/webapp/dist/assets/{rotate-ccw-CKqo62Ra.js → rotate-ccw-CFOlggPt.js} +1 -1
- package/runtime/webapp/dist/assets/{rotate-cw-D-M3ZDSa.js → rotate-cw-CV6TU7ho.js} +1 -1
- package/runtime/webapp/dist/assets/{sankeyDiagram-P5KCCOFB-BeOYMFTR.js → sankeyDiagram-P5KCCOFB-B0k_-2GA.js} +1 -1
- package/runtime/webapp/dist/assets/{send-LvtpJMkk.js → send-Br8F4frT.js} +1 -1
- package/runtime/webapp/dist/assets/{sequenceDiagram-WJ2MYXX4-BBcgqG33.js → sequenceDiagram-WJ2MYXX4-D-Vubzl4.js} +1 -1
- package/runtime/webapp/dist/assets/session-dashboard-B_G9IZRa.js +6 -0
- package/runtime/webapp/dist/assets/session-dashboard-D3n4eFut.css +1 -0
- package/runtime/webapp/dist/assets/{shield-check-SeEkz1Nd.js → shield-check-C_XCddHW.js} +1 -1
- package/runtime/webapp/dist/assets/{sizeCapture-INFHLROL-B0GJZjw0.js → sizeCapture-INFHLROL-CDLZ64va.js} +1 -1
- package/runtime/webapp/dist/assets/stateDiagram-D77RDMKH-D55B47_M.js +1 -0
- package/runtime/webapp/dist/assets/stateDiagram-v2-MP3YSRHH-DhVWnu4U.js +1 -0
- package/runtime/webapp/dist/assets/{swimlanes-42K2YHIH-BAZdMUD6.js → swimlanes-42K2YHIH-FSX6VCzY.js} +1 -1
- package/runtime/webapp/dist/assets/swimlanesDiagram-VR7AAH4N-B677Rs5I.js +8 -0
- package/runtime/webapp/dist/assets/{timeline-definition-24CTP7MA-BSgVFMNG.js → timeline-definition-24CTP7MA-DGmgxtYO.js} +1 -1
- package/runtime/webapp/dist/assets/{trash-2-CHYPyYDY.js → trash-2-Drt7yRIe.js} +1 -1
- package/runtime/webapp/dist/assets/types-BOD4WqhS.js +6 -0
- package/runtime/webapp/dist/assets/{vennDiagram-4TSXK5OY-C-brvbkB.js → vennDiagram-4TSXK5OY-XbldOddh.js} +1 -1
- package/runtime/webapp/dist/assets/{wardleyDiagram-VM6X3IG4-CeqqVR1s.js → wardleyDiagram-VM6X3IG4-DrGMS-oH.js} +1 -1
- package/runtime/webapp/dist/assets/{web-aLPH3xFw.js → web-Crv8v2xB.js} +1 -1
- package/runtime/webapp/dist/assets/{web-Dzd7NW_F.js → web-DQg6oOed.js} +1 -1
- package/runtime/webapp/dist/assets/x-8eDWe1V2.js +6 -0
- package/runtime/webapp/dist/assets/{xychartDiagram-S5SC5T6Z-mPizwpXM.js → xychartDiagram-S5SC5T6Z-BClf-jGf.js} +1 -1
- package/runtime/webapp/dist/assets/zoom-out-CKWUyj9b.js +21 -0
- package/runtime/webapp/dist/index.html +2 -2
- package/runtime/ws-server.mjs +18 -7
- package/runtime/.next/static/chunks/113-b9b8fc001b7cd590.js +0 -1
- package/runtime/.next/static/chunks/app/web/layout-ecfb758d244808a4.js +0 -1
- package/runtime/.next/static/chunks/app/web/page-27145471bd2171c2.js +0 -1
- package/runtime/.next/static/css/afa521adcec25f87.css +0 -1
- package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-07pvccxf.mjs +0 -43
- package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-0rjxgk9e.mjs +0 -18
- package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-fpeb751h.mjs +0 -33
- package/runtime/node_modules/graceful-fs/LICENSE +0 -15
- package/runtime/webapp/dist/assets/AiHubPane-Cp_tNJNR.js +0 -6
- package/runtime/webapp/dist/assets/App-Cs8U1u-X.js +0 -175
- package/runtime/webapp/dist/assets/App-QWoPBMW0.css +0 -1
- package/runtime/webapp/dist/assets/BrowserLivePanel-B1zYRS_7.js +0 -76
- package/runtime/webapp/dist/assets/CollaborationDashboard-DIVa26zk.js +0 -1
- package/runtime/webapp/dist/assets/CollaborationPage-Fsvkw8ZM.js +0 -16
- package/runtime/webapp/dist/assets/FlowStudioPane-CCuxZBVJ.js +0 -5
- package/runtime/webapp/dist/assets/RemoteDesktopPage-DpoYuKhA.js +0 -1
- package/runtime/webapp/dist/assets/SessionDashboard-CAoW5-uN.css +0 -1
- package/runtime/webapp/dist/assets/SessionDashboard-DOWjUIY1.js +0 -26
- package/runtime/webapp/dist/assets/arc-vjNW9DYV.js +0 -1
- package/runtime/webapp/dist/assets/channel-CsnhvX8S.js +0 -1
- package/runtime/webapp/dist/assets/classDiagram-ZZMXUADV-Bed40USf.js +0 -1
- package/runtime/webapp/dist/assets/classDiagram-v2-VYDZK3BY-Bed40USf.js +0 -1
- package/runtime/webapp/dist/assets/clipboard-BteN9-AC.js +0 -6
- package/runtime/webapp/dist/assets/collaboration-BiaML8jX.css +0 -1
- package/runtime/webapp/dist/assets/crown-y1qmM0NZ.js +0 -6
- package/runtime/webapp/dist/assets/index--zKd3rTs.js +0 -507
- package/runtime/webapp/dist/assets/index-D0gsdpeQ.css +0 -1
- package/runtime/webapp/dist/assets/layout-CYHINS_I.js +0 -1
- package/runtime/webapp/dist/assets/page-Cc56wyOt.js +0 -91
- package/runtime/webapp/dist/assets/pieDiagram-E7YTZNPT-yLnU_MCb.js +0 -39
- package/runtime/webapp/dist/assets/stateDiagram-D77RDMKH-BmSvB3vd.js +0 -1
- package/runtime/webapp/dist/assets/stateDiagram-v2-MP3YSRHH-CQ9wpJCJ.js +0 -1
- package/runtime/webapp/dist/assets/swimlanesDiagram-VR7AAH4N-8XTJp3Fr.js +0 -8
- /package/runtime/.next/static/{mGwTFWK2dzlY3HjsjZGzh → fg72y0mrQ518VXPNOLU1t}/_buildManifest.js +0 -0
- /package/runtime/.next/static/{mGwTFWK2dzlY3HjsjZGzh → fg72y0mrQ518VXPNOLU1t}/_ssgManifest.js +0 -0
|
@@ -38,6 +38,7 @@ import {
|
|
|
38
38
|
Vp9CodecInfo,
|
|
39
39
|
vp9CodecInfoHasColorInfo,
|
|
40
40
|
parseEac3Config,
|
|
41
|
+
splitEac3AudioFrames,
|
|
41
42
|
getEac3SampleRate,
|
|
42
43
|
getEac3ChannelCount,
|
|
43
44
|
extractDtsFourCcFromPacket,
|
|
@@ -84,6 +85,7 @@ import {
|
|
|
84
85
|
HEX_STRING_REGEX,
|
|
85
86
|
EMPTY_COLOR_SPACE,
|
|
86
87
|
colorSpaceIsComplete,
|
|
88
|
+
parseIsoSuffix,
|
|
87
89
|
} from '../misc';
|
|
88
90
|
import { EncodedPacket, PLACEHOLDER_DATA } from '../packet';
|
|
89
91
|
import {
|
|
@@ -141,7 +143,6 @@ type InternalTrack = {
|
|
|
141
143
|
sampleTableByteOffset: number | null; // null when the track's sample table is another file (ominous ik 👀)
|
|
142
144
|
sampleTable: SampleTable | null;
|
|
143
145
|
fragmentLookupTable: FragmentLookupTableEntry[];
|
|
144
|
-
currentFragmentState: FragmentTrackState | null;
|
|
145
146
|
/**
|
|
146
147
|
* List of all encountered fragment offsets alongside their timestamps. This list never gets truncated, but memory
|
|
147
148
|
* consumption should be negligible.
|
|
@@ -149,7 +150,8 @@ type InternalTrack = {
|
|
|
149
150
|
fragmentPositionCache: {
|
|
150
151
|
moofOffset: number;
|
|
151
152
|
startTimestamp: number;
|
|
152
|
-
|
|
153
|
+
endDecodeTimestamp: number;
|
|
154
|
+
hasKeyFrame: boolean;
|
|
153
155
|
}[];
|
|
154
156
|
/** The segment durations of all edit list entries leading up to the main one (from which the offset is taken.) */
|
|
155
157
|
editListPreviousSegmentDurations: number;
|
|
@@ -177,6 +179,7 @@ type InternalTrack = {
|
|
|
177
179
|
colorSpace: VideoColorSpaceInit;
|
|
178
180
|
avcType: 1 | 3 | null;
|
|
179
181
|
avcCodecInfo: AvcDecoderConfigurationRecord | null;
|
|
182
|
+
hevcType: 'hev1' | 'hvc1' | null;
|
|
180
183
|
hevcCodecInfo: HevcDecoderConfigurationRecord | null;
|
|
181
184
|
vp9CodecInfo: Vp9CodecInfo | null;
|
|
182
185
|
av1CodecInfo: Av1CodecInfo | null;
|
|
@@ -247,6 +250,7 @@ type FragmentLookupTableEntry = {
|
|
|
247
250
|
sampleNumber: number; // 1-indexed
|
|
248
251
|
};
|
|
249
252
|
|
|
253
|
+
// Maintained for every track, even the ones we don't care about
|
|
250
254
|
type FragmentTrackState = {
|
|
251
255
|
baseDataOffset: number;
|
|
252
256
|
sampleDescriptionIndex: number | null;
|
|
@@ -255,17 +259,18 @@ type FragmentTrackState = {
|
|
|
255
259
|
defaultSampleFlags: number | null;
|
|
256
260
|
startTimestamp: number | null;
|
|
257
261
|
encryptionAuxInfo: SampleEncryptionAuxInfo | null;
|
|
258
|
-
};
|
|
259
|
-
|
|
260
|
-
type FragmentTrackData = {
|
|
261
|
-
track: InternalTrack;
|
|
262
262
|
|
|
263
263
|
// Kept as state for the presence of multiple trun boxes
|
|
264
|
+
currentOffset: number | null; // null before the first trun
|
|
264
265
|
currentTimestamp: number;
|
|
265
|
-
|
|
266
|
+
};
|
|
266
267
|
|
|
268
|
+
// Maintained only for the tracks we care about
|
|
269
|
+
type FragmentTrackData = {
|
|
270
|
+
track: InternalTrack;
|
|
267
271
|
startTimestamp: number;
|
|
268
272
|
endTimestamp: number;
|
|
273
|
+
endDecodeTimestamp: number;
|
|
269
274
|
firstKeyFrameTimestamp: number | null;
|
|
270
275
|
samples: FragmentTrackSample[];
|
|
271
276
|
presentationTimestamps: {
|
|
@@ -353,11 +358,16 @@ export class IsobmffDemuxer extends Demuxer {
|
|
|
353
358
|
psshBoxes: PsshBox[] = [];
|
|
354
359
|
currentFragment: Fragment | null = null;
|
|
355
360
|
isReadingTraf = false;
|
|
361
|
+
currentFragmentTrackState: FragmentTrackState | null = null;
|
|
356
362
|
/**
|
|
357
363
|
* Caches the last fragment that was read. Based on the assumption that there will be multiple reads to the
|
|
358
364
|
* same fragment in quick succession.
|
|
359
365
|
*/
|
|
360
|
-
lastReadFragment:
|
|
366
|
+
lastReadFragment: {
|
|
367
|
+
moofOffset: number;
|
|
368
|
+
promise: Promise<Fragment | null>;
|
|
369
|
+
} | null = null;
|
|
370
|
+
|
|
361
371
|
fragmentSummaries = new Map<number, FragmentSummary>(); // Keyed by moof offset
|
|
362
372
|
|
|
363
373
|
decryptionKeyCache = new Map<string, Promise<Uint8Array>>();
|
|
@@ -553,7 +563,6 @@ export class IsobmffDemuxer extends Demuxer {
|
|
|
553
563
|
sampleTableByteOffset: null,
|
|
554
564
|
sampleTable: null,
|
|
555
565
|
fragmentLookupTable: [],
|
|
556
|
-
currentFragmentState: null,
|
|
557
566
|
fragmentPositionCache: [],
|
|
558
567
|
editListPreviousSegmentDurations: foreignTrack.editListPreviousSegmentDurations,
|
|
559
568
|
editListOffset: foreignTrack.editListOffset,
|
|
@@ -712,12 +721,12 @@ export class IsobmffDemuxer extends Demuxer {
|
|
|
712
721
|
}
|
|
713
722
|
|
|
714
723
|
// Instead of determining the chunk's size by looping over the samples sizes in the sample table, we
|
|
715
|
-
// can directly compute it as we know how many PCM frames are in this chunk
|
|
716
|
-
//
|
|
717
|
-
//
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
724
|
+
// can directly compute it as we know how many PCM frames are in this chunk (from its duration, as a
|
|
725
|
+
// sample may span more than one frame), and the size of each PCM frame. This also improves
|
|
726
|
+
// compatibility with some files which fail to write proper sample size values into their sample
|
|
727
|
+
// tables in the PCM case.
|
|
728
|
+
const frameCount = Math.round(delta * internalTrack.info.sampleRate / internalTrack.timescale);
|
|
729
|
+
const chunkSize = frameCount * pcmInfo.sampleSize * internalTrack.info.numberOfChannels;
|
|
721
730
|
|
|
722
731
|
newSampleSizes.push(chunkSize);
|
|
723
732
|
}
|
|
@@ -798,126 +807,152 @@ export class IsobmffDemuxer extends Demuxer {
|
|
|
798
807
|
return sampleTable;
|
|
799
808
|
}
|
|
800
809
|
|
|
801
|
-
|
|
810
|
+
readFragment(startPos: number) {
|
|
802
811
|
if (this.lastReadFragment?.moofOffset === startPos) {
|
|
803
|
-
|
|
812
|
+
// Also covers reads still in progress, so concurrent reads of the same fragment share all the work
|
|
813
|
+
return this.lastReadFragment.promise;
|
|
804
814
|
}
|
|
805
815
|
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
816
|
+
const promise = (async () => {
|
|
817
|
+
let headerSlice = this.reader.requestSliceRange(startPos, MIN_BOX_HEADER_SIZE, MAX_BOX_HEADER_SIZE);
|
|
818
|
+
if (isThenable(headerSlice)) headerSlice = await headerSlice;
|
|
819
|
+
assert(headerSlice);
|
|
820
|
+
|
|
821
|
+
const moofBoxInfo = readBoxHeader(headerSlice);
|
|
822
|
+
assert(moofBoxInfo?.name === 'moof');
|
|
823
|
+
|
|
824
|
+
let entireSlice = this.reader.requestSlice(startPos, moofBoxInfo.totalSize);
|
|
825
|
+
if (isThenable(entireSlice)) entireSlice = await entireSlice;
|
|
826
|
+
if (!entireSlice) return null; // The moof box is cut off
|
|
827
|
+
|
|
828
|
+
this.traverseBox(entireSlice);
|
|
829
|
+
|
|
830
|
+
// The moof box case leaves the parsed fragment for us to pick up
|
|
831
|
+
const fragment = this.currentFragment;
|
|
832
|
+
assert(fragment && fragment.moofOffset === startPos);
|
|
833
|
+
this.currentFragment = null;
|
|
834
|
+
|
|
835
|
+
this.fragmentSummaries.set(startPos, {
|
|
836
|
+
moofSize: fragment.moofSize,
|
|
837
|
+
trackIds: new Set(fragment.trackData.keys()),
|
|
838
|
+
});
|
|
839
|
+
|
|
840
|
+
for (const [, trackData] of fragment.trackData) {
|
|
841
|
+
const track = trackData.track;
|
|
842
|
+
const { fragmentPositionCache } = track;
|
|
843
|
+
|
|
844
|
+
if (!trackData.startTimestampIsFinal) {
|
|
845
|
+
// It may be that some tracks don't define the base decode time, i.e. when the fragment begins. This
|
|
846
|
+
// we'll need to figure out the start timestamp another way. We'll compute the timestamp by
|
|
847
|
+
// accessing the lookup entries and fragment cache, which works out nicely with the lookup
|
|
848
|
+
// algorithm: If these exist, then the lookup will automatically start at the furthest possible
|
|
849
|
+
// point. If they don't, the lookup starts sequentially from the start, incrementally summing up all
|
|
850
|
+
// fragment durations. It's sort of implicit, but it ends up working nicely.
|
|
851
|
+
|
|
852
|
+
// The table is sorted by timestamp, which for any sane file means it's also sorted by offset
|
|
853
|
+
const lookupEntryIndex = binarySearchExact(
|
|
854
|
+
track.fragmentLookupTable,
|
|
855
|
+
fragment.moofOffset,
|
|
856
|
+
x => x.moofOffset,
|
|
857
|
+
);
|
|
858
|
+
const lookupEntry = track.fragmentLookupTable[lookupEntryIndex];
|
|
859
|
+
const lookupEntryIsValid = lookupEntry
|
|
860
|
+
&& trackData.trunSampleCounts.length >= lookupEntry.trunNumber
|
|
861
|
+
&& trackData.trunSampleCounts[lookupEntry.trunNumber - 1]! >= lookupEntry.sampleNumber;
|
|
809
862
|
|
|
810
|
-
|
|
811
|
-
|
|
863
|
+
if (lookupEntryIsValid) {
|
|
864
|
+
// We ignore traf number here, since we've already matched based on track ID
|
|
812
865
|
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
866
|
+
let sampleIndex = 0;
|
|
867
|
+
for (let i = 1; i < lookupEntry.trunNumber; i++) {
|
|
868
|
+
sampleIndex += trackData.trunSampleCounts[i - 1]!;
|
|
869
|
+
}
|
|
816
870
|
|
|
817
|
-
|
|
871
|
+
sampleIndex += lookupEntry.sampleNumber - 1;
|
|
872
|
+
const sample = trackData.samples[sampleIndex];
|
|
873
|
+
assert(sample); // Must hold due to the above range checks
|
|
818
874
|
|
|
819
|
-
|
|
820
|
-
|
|
875
|
+
// The timestamp in the lookup entry describes the timestamp of the referenced sample
|
|
876
|
+
const timestampOffset = lookupEntry.timestamp - sample.presentationTimestamp;
|
|
877
|
+
offsetFragmentTrackDataByTimestamp(trackData, timestampOffset);
|
|
878
|
+
} else {
|
|
879
|
+
const lastCacheIndex = binarySearchLessOrEqual(
|
|
880
|
+
fragmentPositionCache,
|
|
881
|
+
fragment.moofOffset - 1,
|
|
882
|
+
x => x.moofOffset,
|
|
883
|
+
);
|
|
884
|
+
if (lastCacheIndex !== -1) {
|
|
885
|
+
// Let's continue decoding where the previous fragment in the cache left off
|
|
886
|
+
const lastCache = fragmentPositionCache[lastCacheIndex]!;
|
|
887
|
+
offsetFragmentTrackDataByTimestamp(trackData, lastCache.endDecodeTimestamp);
|
|
888
|
+
} else {
|
|
889
|
+
// We're the first fragment, so we continue where the samples in the moov box end (which is
|
|
890
|
+
// at 0 if there are none)
|
|
891
|
+
const lastTimingEntry = last(this.getSampleTableForTrack(track).sampleTimingEntries);
|
|
892
|
+
if (lastTimingEntry) {
|
|
893
|
+
const { startDecodeTimestamp, count, delta } = lastTimingEntry;
|
|
894
|
+
offsetFragmentTrackDataByTimestamp(trackData, startDecodeTimestamp + count * delta);
|
|
895
|
+
}
|
|
896
|
+
}
|
|
897
|
+
}
|
|
821
898
|
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
trackIds: new Set(fragment.trackData.keys()),
|
|
825
|
-
});
|
|
899
|
+
trackData.startTimestampIsFinal = true;
|
|
900
|
+
}
|
|
826
901
|
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
// we'll need to figure out the start timestamp another way. We'll compute the timestamp by accessing
|
|
834
|
-
// the lookup entries and fragment cache, which works out nicely with the lookup algorithm: If these
|
|
835
|
-
// exist, then the lookup will automatically start at the furthest possible point. If they don't, the
|
|
836
|
-
// lookup starts sequentially from the start, incrementally summing up all fragment durations. It's sort
|
|
837
|
-
// of implicit, but it ends up working nicely.
|
|
838
|
-
|
|
839
|
-
// The table is sorted by timestamp, which for any sane file means it's also sorted by offset
|
|
840
|
-
const lookupEntryIndex = binarySearchExact(
|
|
841
|
-
track.fragmentLookupTable,
|
|
842
|
-
fragment.moofOffset,
|
|
843
|
-
x => x.moofOffset,
|
|
902
|
+
// Let's remember that a fragment with a given timestamp is here, speeding up future lookups if no
|
|
903
|
+
// lookup table exists
|
|
904
|
+
const insertionIndex = binarySearchLessOrEqual(
|
|
905
|
+
fragmentPositionCache,
|
|
906
|
+
trackData.startTimestamp,
|
|
907
|
+
x => x.startTimestamp,
|
|
844
908
|
);
|
|
845
|
-
const
|
|
846
|
-
const
|
|
847
|
-
&& trackData.trunSampleCounts.length >= lookupEntry.trunNumber
|
|
848
|
-
&& trackData.trunSampleCounts[lookupEntry.trunNumber - 1]! >= lookupEntry.sampleNumber;
|
|
849
|
-
|
|
850
|
-
if (lookupEntryIsValid) {
|
|
851
|
-
// We ignore traf number here, since we've already matched based on track ID
|
|
909
|
+
const previousEntry = fragmentPositionCache[insertionIndex];
|
|
910
|
+
const nextEntry = fragmentPositionCache[insertionIndex + 1];
|
|
852
911
|
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
912
|
+
// Only remember it if the timestamp order matches the moof offset order
|
|
913
|
+
if (
|
|
914
|
+
(!previousEntry || previousEntry.moofOffset < fragment.moofOffset)
|
|
915
|
+
&& (!nextEntry || nextEntry.moofOffset > fragment.moofOffset)
|
|
916
|
+
) {
|
|
917
|
+
fragmentPositionCache.splice(insertionIndex + 1, 0, {
|
|
918
|
+
moofOffset: fragment.moofOffset,
|
|
919
|
+
startTimestamp: trackData.startTimestamp,
|
|
920
|
+
endDecodeTimestamp: trackData.endDecodeTimestamp,
|
|
921
|
+
hasKeyFrame: trackData.firstKeyFrameTimestamp !== null,
|
|
922
|
+
});
|
|
923
|
+
}
|
|
861
924
|
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
fragment.moofOffset - 1,
|
|
869
|
-
x => x.moofOffset,
|
|
925
|
+
// If senc wasn't parsed but saiz+saio were, fetch the aux info now and stamp each sample with it
|
|
926
|
+
if (trackData.encryptionAuxInfo && track.encryptionInfo) {
|
|
927
|
+
const entries = await resolveEncryptionAuxInfo(
|
|
928
|
+
this.reader,
|
|
929
|
+
track.encryptionInfo,
|
|
930
|
+
trackData.encryptionAuxInfo,
|
|
870
931
|
);
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
const
|
|
874
|
-
|
|
875
|
-
} else {
|
|
876
|
-
// We're the first fragment I guess, "offset by 0"
|
|
932
|
+
|
|
933
|
+
for (let i = 0; i < Math.min(trackData.samples.length, entries.length); i++) {
|
|
934
|
+
const entry = entries[i]!;
|
|
935
|
+
trackData.samples[i]!.encryption = entry;
|
|
877
936
|
}
|
|
878
937
|
}
|
|
879
|
-
|
|
880
|
-
trackData.startTimestampIsFinal = true;
|
|
881
938
|
}
|
|
882
939
|
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
const insertionIndex = binarySearchLessOrEqual(
|
|
886
|
-
fragmentPositionCache,
|
|
887
|
-
trackData.startTimestamp,
|
|
888
|
-
x => x.startTimestamp,
|
|
889
|
-
);
|
|
890
|
-
const previousEntry = fragmentPositionCache[insertionIndex];
|
|
891
|
-
const nextEntry = fragmentPositionCache[insertionIndex + 1];
|
|
892
|
-
|
|
893
|
-
// Only remember it if the timestamp order matches the moof offset order
|
|
894
|
-
if (
|
|
895
|
-
(!previousEntry || previousEntry.moofOffset < fragment.moofOffset)
|
|
896
|
-
&& (!nextEntry || nextEntry.moofOffset > fragment.moofOffset)
|
|
897
|
-
) {
|
|
898
|
-
fragmentPositionCache.splice(insertionIndex + 1, 0, {
|
|
899
|
-
moofOffset: fragment.moofOffset,
|
|
900
|
-
startTimestamp: trackData.startTimestamp,
|
|
901
|
-
endTimestamp: trackData.endTimestamp,
|
|
902
|
-
});
|
|
903
|
-
}
|
|
940
|
+
return fragment;
|
|
941
|
+
})();
|
|
904
942
|
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
track.encryptionInfo,
|
|
910
|
-
trackData.encryptionAuxInfo,
|
|
911
|
-
);
|
|
943
|
+
this.lastReadFragment = {
|
|
944
|
+
moofOffset: startPos,
|
|
945
|
+
promise,
|
|
946
|
+
};
|
|
912
947
|
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
948
|
+
// A failed read shouldn't stick around
|
|
949
|
+
promise.catch(() => {
|
|
950
|
+
if (this.lastReadFragment?.promise === promise) {
|
|
951
|
+
this.lastReadFragment = null;
|
|
917
952
|
}
|
|
918
|
-
}
|
|
953
|
+
});
|
|
919
954
|
|
|
920
|
-
return
|
|
955
|
+
return promise;
|
|
921
956
|
}
|
|
922
957
|
|
|
923
958
|
readContiguousBoxes(slice: FileSlice) {
|
|
@@ -1033,7 +1068,6 @@ export class IsobmffDemuxer extends Demuxer {
|
|
|
1033
1068
|
sampleTableByteOffset: -1,
|
|
1034
1069
|
sampleTable: null,
|
|
1035
1070
|
fragmentLookupTable: [],
|
|
1036
|
-
currentFragmentState: null,
|
|
1037
1071
|
fragmentPositionCache: [],
|
|
1038
1072
|
editListPreviousSegmentDurations: 0,
|
|
1039
1073
|
editListOffset: 0,
|
|
@@ -1169,6 +1203,11 @@ export class IsobmffDemuxer extends Demuxer {
|
|
|
1169
1203
|
track.durationInMediaTimescale = readU64Be(slice);
|
|
1170
1204
|
}
|
|
1171
1205
|
|
|
1206
|
+
if (track.durationInMediaTimescale === 2 ** (version === 1 ? 64 : 32) - 1) {
|
|
1207
|
+
// All ones means the duration is unknown
|
|
1208
|
+
track.durationInMediaTimescale = -1;
|
|
1209
|
+
}
|
|
1210
|
+
|
|
1172
1211
|
if (track.timescale === 0) {
|
|
1173
1212
|
throw new Error('Invalid mdhd box: timescale must not be 0.');
|
|
1174
1213
|
}
|
|
@@ -1211,6 +1250,7 @@ export class IsobmffDemuxer extends Demuxer {
|
|
|
1211
1250
|
colorSpace: { ...EMPTY_COLOR_SPACE },
|
|
1212
1251
|
avcType: null,
|
|
1213
1252
|
avcCodecInfo: null,
|
|
1253
|
+
hevcType: null,
|
|
1214
1254
|
hevcCodecInfo: null,
|
|
1215
1255
|
vp9CodecInfo: null,
|
|
1216
1256
|
av1CodecInfo: null,
|
|
@@ -1296,6 +1336,7 @@ export class IsobmffDemuxer extends Demuxer {
|
|
|
1296
1336
|
track.info.avcType = codecName === 'avc1' ? 1 : 3;
|
|
1297
1337
|
} else if (codecName === 'hvc1' || codecName === 'hev1') {
|
|
1298
1338
|
track.info.codec = 'hevc';
|
|
1339
|
+
track.info.hevcType = codecName;
|
|
1299
1340
|
} else if (codecName === 'vp08') {
|
|
1300
1341
|
track.info.codec = 'vp8';
|
|
1301
1342
|
} else if (codecName === 'vp09') {
|
|
@@ -1346,7 +1387,8 @@ export class IsobmffDemuxer extends Demuxer {
|
|
|
1346
1387
|
}
|
|
1347
1388
|
|
|
1348
1389
|
track.info.numberOfChannels = channelCount;
|
|
1349
|
-
|
|
1390
|
+
// A sample rate that doesn't fit is written as 0, making the media timescale our best guess
|
|
1391
|
+
track.info.sampleRate = sampleRate || track.timescale;
|
|
1350
1392
|
|
|
1351
1393
|
track.frmaCodecString = null;
|
|
1352
1394
|
this.readContiguousBoxes(
|
|
@@ -1364,6 +1406,8 @@ export class IsobmffDemuxer extends Demuxer {
|
|
|
1364
1406
|
// developer.apple.com/documentation/quicktime-file-format/sound_sample_descriptions/
|
|
1365
1407
|
if (codecName === 'mp4a') {
|
|
1366
1408
|
// The codec is set by the esds box
|
|
1409
|
+
} else if (codecName === '.mp3') {
|
|
1410
|
+
track.info.codec = 'mp3';
|
|
1367
1411
|
} else if (codecName === 'opus') {
|
|
1368
1412
|
track.info.codec = 'opus';
|
|
1369
1413
|
track.info.sampleRate = OPUS_SAMPLE_RATE; // Always the same
|
|
@@ -1468,6 +1512,8 @@ export class IsobmffDemuxer extends Demuxer {
|
|
|
1468
1512
|
if (isFloat) {
|
|
1469
1513
|
if (sampleSize === 32) {
|
|
1470
1514
|
track.info.codec = isBigEndian ? 'pcm-f32be' : 'pcm-f32';
|
|
1515
|
+
} else if (sampleSize === 64) {
|
|
1516
|
+
track.info.codec = isBigEndian ? 'pcm-f64be' : 'pcm-f64';
|
|
1471
1517
|
}
|
|
1472
1518
|
} else {
|
|
1473
1519
|
if (sFlags & (1 << (bytesPerSample - 1))) {
|
|
@@ -1832,6 +1878,16 @@ export class IsobmffDemuxer extends Demuxer {
|
|
|
1832
1878
|
track.info.pcmSampleSize = readU8(slice);
|
|
1833
1879
|
}; break;
|
|
1834
1880
|
|
|
1881
|
+
case 'srat': {
|
|
1882
|
+
const track = this.currentTrack;
|
|
1883
|
+
if (!track || track.info?.type !== 'audio') {
|
|
1884
|
+
break;
|
|
1885
|
+
}
|
|
1886
|
+
|
|
1887
|
+
slice.skip(4); // Version + flags
|
|
1888
|
+
track.info.sampleRate = readU32Be(slice);
|
|
1889
|
+
}; break;
|
|
1890
|
+
|
|
1835
1891
|
case 'dOps': { // Used for Opus audio
|
|
1836
1892
|
const track = this.currentTrack;
|
|
1837
1893
|
if (!track || track.info?.type !== 'audio') {
|
|
@@ -1847,12 +1903,10 @@ export class IsobmffDemuxer extends Demuxer {
|
|
|
1847
1903
|
const outputGain = readI16Be(slice);
|
|
1848
1904
|
const channelMappingFamily = readU8(slice);
|
|
1849
1905
|
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
channelMappingTable = new Uint8Array(0);
|
|
1855
|
-
}
|
|
1906
|
+
// Taking all of the rest also keeps the demixing matrix of family 3, which replaces the channel mapping
|
|
1907
|
+
const channelMappingTable = channelMappingFamily !== 0
|
|
1908
|
+
? readBytes(slice, boxInfo.contentSize - 11)
|
|
1909
|
+
: new Uint8Array(0);
|
|
1856
1910
|
|
|
1857
1911
|
// https://datatracker.ietf.org/doc/html/draft-ietf-codec-oggopus-06
|
|
1858
1912
|
const description = new Uint8Array(8 + 1 + 1 + 2 + 4 + 2 + 1 + channelMappingTable.byteLength);
|
|
@@ -2365,10 +2419,12 @@ export class IsobmffDemuxer extends Demuxer {
|
|
|
2365
2419
|
|
|
2366
2420
|
try {
|
|
2367
2421
|
this.readContiguousBoxes(slice.slice(contentStartPos, boxInfo.contentSize));
|
|
2368
|
-
|
|
2369
|
-
} finally {
|
|
2422
|
+
} catch (error) {
|
|
2370
2423
|
this.currentFragment = null;
|
|
2424
|
+
throw error;
|
|
2425
|
+
} finally {
|
|
2371
2426
|
this.currentTrack = null;
|
|
2427
|
+
this.currentFragmentTrackState = null;
|
|
2372
2428
|
}
|
|
2373
2429
|
}; break;
|
|
2374
2430
|
|
|
@@ -2384,9 +2440,13 @@ export class IsobmffDemuxer extends Demuxer {
|
|
|
2384
2440
|
this.isReadingTraf = false;
|
|
2385
2441
|
}
|
|
2386
2442
|
|
|
2443
|
+
const fragmentTrackState = this.currentFragmentTrackState;
|
|
2444
|
+
this.currentFragmentTrackState = null;
|
|
2445
|
+
|
|
2387
2446
|
// It is possible that there is no current track, for example when we don't care about the track
|
|
2388
2447
|
// referenced in the track fragment header.
|
|
2389
2448
|
if (this.currentTrack) {
|
|
2449
|
+
assert(fragmentTrackState);
|
|
2390
2450
|
const trackData = this.currentFragment.trackData.get(this.currentTrack.id);
|
|
2391
2451
|
cond:
|
|
2392
2452
|
if (trackData) {
|
|
@@ -2423,23 +2483,20 @@ export class IsobmffDemuxer extends Demuxer {
|
|
|
2423
2483
|
|
|
2424
2484
|
trackData.startTimestamp = firstSample.presentationTimestamp;
|
|
2425
2485
|
trackData.endTimestamp = lastSample.presentationTimestamp + lastSample.duration;
|
|
2486
|
+
trackData.endDecodeTimestamp = fragmentTrackState.currentTimestamp;
|
|
2426
2487
|
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
if (currentFragmentState.startTimestamp !== null) {
|
|
2431
|
-
offsetFragmentTrackDataByTimestamp(trackData, currentFragmentState.startTimestamp);
|
|
2488
|
+
if (fragmentTrackState.startTimestamp !== null) {
|
|
2489
|
+
offsetFragmentTrackDataByTimestamp(trackData, fragmentTrackState.startTimestamp);
|
|
2432
2490
|
trackData.startTimestampIsFinal = true;
|
|
2433
2491
|
}
|
|
2434
2492
|
|
|
2435
2493
|
// Transfer the buffered saiz+saio state onto the track data, so readFragment can resolve it
|
|
2436
2494
|
// once all boxes are parsed. Only relevant if senc wasn't already used to populate samples.
|
|
2437
|
-
if (
|
|
2438
|
-
trackData.encryptionAuxInfo =
|
|
2495
|
+
if (fragmentTrackState.encryptionAuxInfo && !trackData.samples[0]!.encryption) {
|
|
2496
|
+
trackData.encryptionAuxInfo = fragmentTrackState.encryptionAuxInfo;
|
|
2439
2497
|
}
|
|
2440
2498
|
}
|
|
2441
2499
|
|
|
2442
|
-
this.currentTrack.currentFragmentState = null;
|
|
2443
2500
|
this.currentTrack = null;
|
|
2444
2501
|
}
|
|
2445
2502
|
}; break;
|
|
@@ -2460,7 +2517,7 @@ export class IsobmffDemuxer extends Demuxer {
|
|
|
2460
2517
|
|
|
2461
2518
|
case 'tfhd': {
|
|
2462
2519
|
// Only the first tfhd of a traf counts; anywhere else, there'd be no traf to finish the track data
|
|
2463
|
-
if (!this.currentFragment || !this.isReadingTraf || this.
|
|
2520
|
+
if (!this.currentFragment || !this.isReadingTraf || this.currentFragmentTrackState) {
|
|
2464
2521
|
break;
|
|
2465
2522
|
}
|
|
2466
2523
|
|
|
@@ -2476,21 +2533,10 @@ export class IsobmffDemuxer extends Demuxer {
|
|
|
2476
2533
|
const defaultBaseIsMoof = Boolean(flags & 0x020000);
|
|
2477
2534
|
|
|
2478
2535
|
const trackId = readU32Be(slice);
|
|
2479
|
-
const track = this.idToTrack.get(trackId);
|
|
2480
|
-
if (!track) {
|
|
2481
|
-
// We don't care about this track
|
|
2482
|
-
break;
|
|
2483
|
-
}
|
|
2484
|
-
|
|
2485
|
-
if (this.currentFragment.trackData.has(trackId)) {
|
|
2486
|
-
Logging._warn(`Multiple traf boxes for track ${trackId} in the same moof box; skipping.`);
|
|
2487
|
-
break;
|
|
2488
|
-
}
|
|
2489
|
-
|
|
2490
2536
|
const defaults = this.fragmentTrackDefaults.get(trackId);
|
|
2491
2537
|
|
|
2492
|
-
this
|
|
2493
|
-
|
|
2538
|
+
// Even tracks we ignore get this state, since their data still shifts the implicit base data offset
|
|
2539
|
+
const fragmentTrackState: FragmentTrackState = {
|
|
2494
2540
|
baseDataOffset: this.currentFragment.implicitBaseDataOffset,
|
|
2495
2541
|
sampleDescriptionIndex: defaults?.defaultSampleDescriptionIndex ?? null,
|
|
2496
2542
|
defaultSampleDuration: defaults?.defaultSampleDuration ?? null,
|
|
@@ -2498,33 +2544,53 @@ export class IsobmffDemuxer extends Demuxer {
|
|
|
2498
2544
|
defaultSampleFlags: defaults?.defaultSampleFlags ?? null,
|
|
2499
2545
|
startTimestamp: null,
|
|
2500
2546
|
encryptionAuxInfo: null,
|
|
2547
|
+
currentOffset: null,
|
|
2548
|
+
currentTimestamp: 0,
|
|
2501
2549
|
};
|
|
2550
|
+
this.currentFragmentTrackState = fragmentTrackState;
|
|
2502
2551
|
|
|
2503
2552
|
if (baseDataOffsetPresent) {
|
|
2504
|
-
|
|
2553
|
+
fragmentTrackState.baseDataOffset = readU64Be(slice);
|
|
2505
2554
|
} else if (defaultBaseIsMoof) {
|
|
2506
|
-
|
|
2555
|
+
fragmentTrackState.baseDataOffset = this.currentFragment.moofOffset;
|
|
2507
2556
|
}
|
|
2508
2557
|
if (sampleDescriptionIndexPresent) {
|
|
2509
|
-
|
|
2558
|
+
fragmentTrackState.sampleDescriptionIndex = readU32Be(slice);
|
|
2510
2559
|
}
|
|
2511
2560
|
if (defaultSampleDurationPresent) {
|
|
2512
|
-
|
|
2561
|
+
fragmentTrackState.defaultSampleDuration = readU32Be(slice);
|
|
2513
2562
|
}
|
|
2514
2563
|
if (defaultSampleSizePresent) {
|
|
2515
|
-
|
|
2564
|
+
fragmentTrackState.defaultSampleSize = readU32Be(slice);
|
|
2516
2565
|
}
|
|
2517
2566
|
if (defaultSampleFlagsPresent) {
|
|
2518
|
-
|
|
2567
|
+
fragmentTrackState.defaultSampleFlags = readU32Be(slice);
|
|
2519
2568
|
}
|
|
2520
2569
|
if (durationIsEmpty) {
|
|
2521
|
-
|
|
2570
|
+
fragmentTrackState.defaultSampleDuration = 0;
|
|
2571
|
+
}
|
|
2572
|
+
|
|
2573
|
+
const track = this.idToTrack.get(trackId);
|
|
2574
|
+
if (!track) {
|
|
2575
|
+
// We don't care about this track
|
|
2576
|
+
break;
|
|
2522
2577
|
}
|
|
2578
|
+
|
|
2579
|
+
if (this.currentFragment.trackData.has(trackId)) {
|
|
2580
|
+
// Note that we don't actually skip the parsing of the trun. We can't, because it's necessary for
|
|
2581
|
+
// incrementing the data offset.
|
|
2582
|
+
Logging._warn(
|
|
2583
|
+
`Multiple traf boxes for track ${trackId} in the same moof box; ignoring the samples of all but`
|
|
2584
|
+
+ ' the first.',
|
|
2585
|
+
);
|
|
2586
|
+
break;
|
|
2587
|
+
}
|
|
2588
|
+
|
|
2589
|
+
this.currentTrack = track;
|
|
2523
2590
|
}; break;
|
|
2524
2591
|
|
|
2525
2592
|
case 'tfdt': {
|
|
2526
|
-
|
|
2527
|
-
if (!track?.currentFragmentState) {
|
|
2593
|
+
if (!this.currentFragmentTrackState) {
|
|
2528
2594
|
break;
|
|
2529
2595
|
}
|
|
2530
2596
|
|
|
@@ -2532,15 +2598,18 @@ export class IsobmffDemuxer extends Demuxer {
|
|
|
2532
2598
|
slice.skip(3); // Flags
|
|
2533
2599
|
|
|
2534
2600
|
const baseMediaDecodeTime = version === 0 ? readU32Be(slice) : readU64Be(slice);
|
|
2535
|
-
|
|
2601
|
+
this.currentFragmentTrackState.startTimestamp = baseMediaDecodeTime;
|
|
2536
2602
|
}; break;
|
|
2537
2603
|
|
|
2538
2604
|
case 'trun': {
|
|
2539
|
-
const
|
|
2540
|
-
if (!
|
|
2605
|
+
const fragmentTrackState = this.currentFragmentTrackState;
|
|
2606
|
+
if (!fragmentTrackState || !this.currentFragment) {
|
|
2541
2607
|
break;
|
|
2542
2608
|
}
|
|
2543
2609
|
|
|
2610
|
+
// Can be null if we don't care about the track (still needs parsing tho)
|
|
2611
|
+
const track = this.currentTrack;
|
|
2612
|
+
|
|
2544
2613
|
slice.skip(1); // Version
|
|
2545
2614
|
const flags = readU24Be(slice);
|
|
2546
2615
|
const dataOffsetPresent = Boolean(flags & 0x000001);
|
|
@@ -2552,7 +2621,7 @@ export class IsobmffDemuxer extends Demuxer {
|
|
|
2552
2621
|
|
|
2553
2622
|
const sampleCount = readU32Be(slice);
|
|
2554
2623
|
|
|
2555
|
-
const { defaultSampleDuration, defaultSampleSize, defaultSampleFlags } =
|
|
2624
|
+
const { defaultSampleDuration, defaultSampleSize, defaultSampleFlags } = fragmentTrackState;
|
|
2556
2625
|
if (
|
|
2557
2626
|
sampleCount > 0
|
|
2558
2627
|
&& (
|
|
@@ -2579,35 +2648,34 @@ export class IsobmffDemuxer extends Demuxer {
|
|
|
2579
2648
|
firstSampleFlags = readU32Be(slice);
|
|
2580
2649
|
}
|
|
2581
2650
|
|
|
2582
|
-
|
|
2583
|
-
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
-
|
|
2587
|
-
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
|
|
2591
|
-
|
|
2651
|
+
// "If the data-offset is not present, then the data for this run starts immediately after the data of
|
|
2652
|
+
// the previous run, or at the base-data-offset defined by the track fragment header if this is the
|
|
2653
|
+
// first run in a track fragment"
|
|
2654
|
+
let currentOffset = dataOffset !== null
|
|
2655
|
+
? fragmentTrackState.baseDataOffset + dataOffset
|
|
2656
|
+
: fragmentTrackState.currentOffset ?? fragmentTrackState.baseDataOffset;
|
|
2657
|
+
|
|
2658
|
+
let trackData: FragmentTrackData | null = null;
|
|
2659
|
+
if (track) {
|
|
2660
|
+
trackData = this.currentFragment.trackData.get(track.id) ?? null;
|
|
2661
|
+
if (!trackData) {
|
|
2662
|
+
trackData = {
|
|
2663
|
+
track,
|
|
2664
|
+
startTimestamp: 0,
|
|
2665
|
+
endTimestamp: 0,
|
|
2666
|
+
endDecodeTimestamp: 0,
|
|
2667
|
+
firstKeyFrameTimestamp: null,
|
|
2668
|
+
samples: [],
|
|
2669
|
+
presentationTimestamps: [],
|
|
2670
|
+
startTimestampIsFinal: false,
|
|
2671
|
+
trunSampleCounts: [],
|
|
2672
|
+
encryptionAuxInfo: null,
|
|
2673
|
+
};
|
|
2674
|
+
this.currentFragment.trackData.set(track.id, trackData);
|
|
2592
2675
|
}
|
|
2593
|
-
} else {
|
|
2594
|
-
trackData = {
|
|
2595
|
-
track,
|
|
2596
|
-
currentTimestamp: 0,
|
|
2597
|
-
currentOffset: track.currentFragmentState.baseDataOffset + (dataOffset ?? 0),
|
|
2598
|
-
startTimestamp: 0,
|
|
2599
|
-
endTimestamp: 0,
|
|
2600
|
-
firstKeyFrameTimestamp: null,
|
|
2601
|
-
samples: [],
|
|
2602
|
-
presentationTimestamps: [],
|
|
2603
|
-
startTimestampIsFinal: false,
|
|
2604
|
-
trunSampleCounts: [],
|
|
2605
|
-
encryptionAuxInfo: null,
|
|
2606
|
-
};
|
|
2607
|
-
this.currentFragment.trackData.set(track.id, trackData);
|
|
2608
|
-
}
|
|
2609
2676
|
|
|
2610
|
-
|
|
2677
|
+
trackData.trunSampleCounts.push(sampleCount);
|
|
2678
|
+
}
|
|
2611
2679
|
|
|
2612
2680
|
for (let i = 0; i < sampleCount; i++) {
|
|
2613
2681
|
let sampleDuration: number;
|
|
@@ -2642,22 +2710,21 @@ export class IsobmffDemuxer extends Demuxer {
|
|
|
2642
2710
|
sampleCompositionTimeOffset = readI32Be(slice);
|
|
2643
2711
|
}
|
|
2644
2712
|
|
|
2645
|
-
|
|
2646
|
-
|
|
2647
|
-
trackData.samples.push({
|
|
2648
|
-
presentationTimestamp: trackData.currentTimestamp + sampleCompositionTimeOffset,
|
|
2713
|
+
trackData?.samples.push({
|
|
2714
|
+
presentationTimestamp: fragmentTrackState.currentTimestamp + sampleCompositionTimeOffset,
|
|
2649
2715
|
duration: sampleDuration,
|
|
2650
|
-
byteOffset:
|
|
2716
|
+
byteOffset: currentOffset,
|
|
2651
2717
|
byteSize: sampleSize,
|
|
2652
|
-
isKeyFrame,
|
|
2718
|
+
isKeyFrame: !(sampleFlags & 0x00010000),
|
|
2653
2719
|
encryption: null,
|
|
2654
2720
|
});
|
|
2655
2721
|
|
|
2656
|
-
|
|
2657
|
-
|
|
2722
|
+
currentOffset += sampleSize;
|
|
2723
|
+
fragmentTrackState.currentTimestamp += sampleDuration;
|
|
2658
2724
|
}
|
|
2659
2725
|
|
|
2660
|
-
|
|
2726
|
+
fragmentTrackState.currentOffset = currentOffset;
|
|
2727
|
+
this.currentFragment.implicitBaseDataOffset = currentOffset;
|
|
2661
2728
|
}; break;
|
|
2662
2729
|
|
|
2663
2730
|
case 'saiz': {
|
|
@@ -2687,7 +2754,7 @@ export class IsobmffDemuxer extends Demuxer {
|
|
|
2687
2754
|
sampleSizes = readBytes(slice, sampleCount);
|
|
2688
2755
|
}
|
|
2689
2756
|
|
|
2690
|
-
const aux = getOrCreateEncryptionAuxInfo(track);
|
|
2757
|
+
const aux = getOrCreateEncryptionAuxInfo(track, this.currentFragmentTrackState);
|
|
2691
2758
|
aux.defaultSampleInfoSize = defaultSampleInfoSize;
|
|
2692
2759
|
aux.sampleSizes = sampleSizes;
|
|
2693
2760
|
aux.sampleCount = sampleCount;
|
|
@@ -2721,12 +2788,13 @@ export class IsobmffDemuxer extends Demuxer {
|
|
|
2721
2788
|
|
|
2722
2789
|
let offset = version === 0 ? readU32Be(slice) : Number(readU64Be(slice));
|
|
2723
2790
|
|
|
2724
|
-
// Per ISO/IEC
|
|
2791
|
+
// Per ISO/IEC 14496-12: when saio is inside a traf, offsets are relative to its base data offset
|
|
2725
2792
|
if (this.currentFragment) {
|
|
2726
|
-
|
|
2793
|
+
assert(this.currentFragmentTrackState);
|
|
2794
|
+
offset += this.currentFragmentTrackState.baseDataOffset;
|
|
2727
2795
|
}
|
|
2728
2796
|
|
|
2729
|
-
const aux = getOrCreateEncryptionAuxInfo(track);
|
|
2797
|
+
const aux = getOrCreateEncryptionAuxInfo(track, this.currentFragmentTrackState);
|
|
2730
2798
|
aux.offset = offset;
|
|
2731
2799
|
}; break;
|
|
2732
2800
|
|
|
@@ -2811,7 +2879,15 @@ export class IsobmffDemuxer extends Demuxer {
|
|
|
2811
2879
|
this.traverseBox(slice);
|
|
2812
2880
|
}; break;
|
|
2813
2881
|
|
|
2814
|
-
case '©nam':
|
|
2882
|
+
case '©nam': {
|
|
2883
|
+
// Unlike name, ©nam holds international text
|
|
2884
|
+
if (this.currentTrack) {
|
|
2885
|
+
this.currentTrack.name = readMetadataStringShort(slice);
|
|
2886
|
+
} else {
|
|
2887
|
+
this.metadataTags.title ??= readMetadataStringShort(slice);
|
|
2888
|
+
}
|
|
2889
|
+
}; break;
|
|
2890
|
+
|
|
2815
2891
|
case 'name': {
|
|
2816
2892
|
if (this.currentTrack) {
|
|
2817
2893
|
this.currentTrack.name = textDecoder.decode(readBytes(slice, boxInfo.contentSize));
|
|
@@ -2852,8 +2928,8 @@ export class IsobmffDemuxer extends Demuxer {
|
|
|
2852
2928
|
|
|
2853
2929
|
case '©day': {
|
|
2854
2930
|
if (!this.currentTrack) {
|
|
2855
|
-
const date =
|
|
2856
|
-
if (
|
|
2931
|
+
const date = parseIsoSuffix(readMetadataStringShort(slice));
|
|
2932
|
+
if (date) {
|
|
2857
2933
|
this.metadataTags.date ??= date;
|
|
2858
2934
|
}
|
|
2859
2935
|
}
|
|
@@ -3016,8 +3092,8 @@ export class IsobmffDemuxer extends Demuxer {
|
|
|
3016
3092
|
case 'com.apple.quicktime.creationdate':
|
|
3017
3093
|
case 'date': {
|
|
3018
3094
|
if (typeof data === 'string') {
|
|
3019
|
-
const date =
|
|
3020
|
-
if (
|
|
3095
|
+
const date = parseIsoSuffix(data);
|
|
3096
|
+
if (date) {
|
|
3021
3097
|
this.metadataTags.date ??= date;
|
|
3022
3098
|
}
|
|
3023
3099
|
}
|
|
@@ -3115,15 +3191,13 @@ abstract class IsobmffTrackBacking implements InputTrackBacking {
|
|
|
3115
3191
|
sampleIndex: number;
|
|
3116
3192
|
}>();
|
|
3117
3193
|
|
|
3194
|
+
nextEac3Frames = new WeakMap<EncodedPacket, EncodedPacket>();
|
|
3195
|
+
|
|
3118
3196
|
constructor(public internalTrack: InternalTrack) {}
|
|
3119
3197
|
|
|
3120
3198
|
abstract getType(): TrackType;
|
|
3121
3199
|
abstract getDecoderConfig(): Promise<VideoDecoderConfig | AudioDecoderConfig | null>;
|
|
3122
3200
|
|
|
3123
|
-
getId() {
|
|
3124
|
-
return this.internalTrack.id;
|
|
3125
|
-
}
|
|
3126
|
-
|
|
3127
3201
|
getNumber() {
|
|
3128
3202
|
const demuxer = this.internalTrack.demuxer;
|
|
3129
3203
|
const trackType = this.internalTrack.trackBacking!.getType();
|
|
@@ -3194,6 +3268,11 @@ abstract class IsobmffTrackBacking implements InputTrackBacking {
|
|
|
3194
3268
|
return null;
|
|
3195
3269
|
}
|
|
3196
3270
|
|
|
3271
|
+
if (track.demuxer.isFragmented && track.demuxer.getSampleTableForTrack(track).sampleCount > 0) {
|
|
3272
|
+
// The duration only covers the samples in the moov box and not the fragments that follow
|
|
3273
|
+
return null;
|
|
3274
|
+
}
|
|
3275
|
+
|
|
3197
3276
|
assert(track.trackBacking);
|
|
3198
3277
|
|
|
3199
3278
|
const firstPacket = await track.trackBacking.getFirstPacket({ metadataOnly: true });
|
|
@@ -3211,26 +3290,7 @@ abstract class IsobmffTrackBacking implements InputTrackBacking {
|
|
|
3211
3290
|
return regularPacket;
|
|
3212
3291
|
}
|
|
3213
3292
|
|
|
3214
|
-
return this.
|
|
3215
|
-
null,
|
|
3216
|
-
(fragment) => {
|
|
3217
|
-
const trackData = fragment.trackData.get(this.internalTrack.id);
|
|
3218
|
-
if (trackData) {
|
|
3219
|
-
return {
|
|
3220
|
-
sampleIndex: 0,
|
|
3221
|
-
correctSampleFound: true,
|
|
3222
|
-
};
|
|
3223
|
-
}
|
|
3224
|
-
|
|
3225
|
-
return {
|
|
3226
|
-
sampleIndex: -1,
|
|
3227
|
-
correctSampleFound: false,
|
|
3228
|
-
};
|
|
3229
|
-
},
|
|
3230
|
-
-Infinity, // Use -Infinity as a search timestamp to avoid using the lookup entries
|
|
3231
|
-
Infinity,
|
|
3232
|
-
options,
|
|
3233
|
-
);
|
|
3293
|
+
return this.fetchFirstFragmentedPacket(false, options);
|
|
3234
3294
|
}
|
|
3235
3295
|
|
|
3236
3296
|
private mapTimestampIntoTimescale(timestamp: number) {
|
|
@@ -3245,14 +3305,13 @@ abstract class IsobmffTrackBacking implements InputTrackBacking {
|
|
|
3245
3305
|
|
|
3246
3306
|
const sampleTable = this.internalTrack.demuxer.getSampleTableForTrack(this.internalTrack);
|
|
3247
3307
|
const sampleIndex = getSampleIndexForTimestamp(sampleTable, timestampInTimescale);
|
|
3248
|
-
const regularPacket = await this.fetchPacketForSampleIndex(sampleIndex, options);
|
|
3308
|
+
const regularPacket = await this.fetchPacketForSampleIndex(sampleIndex, options, timestampInTimescale);
|
|
3249
3309
|
|
|
3250
|
-
if (!
|
|
3251
|
-
// Prefer the non-fragmented packet
|
|
3310
|
+
if (!this.internalTrack.demuxer.isFragmented) {
|
|
3252
3311
|
return regularPacket;
|
|
3253
3312
|
}
|
|
3254
3313
|
|
|
3255
|
-
|
|
3314
|
+
const fragmentedPacket = await this.performFragmentedLookup(
|
|
3256
3315
|
null,
|
|
3257
3316
|
(fragment) => {
|
|
3258
3317
|
const trackData = fragment.trackData.get(this.internalTrack.id);
|
|
@@ -3275,14 +3334,32 @@ abstract class IsobmffTrackBacking implements InputTrackBacking {
|
|
|
3275
3334
|
timestampInTimescale,
|
|
3276
3335
|
options,
|
|
3277
3336
|
);
|
|
3337
|
+
|
|
3338
|
+
if (!regularPacket || !fragmentedPacket) {
|
|
3339
|
+
return regularPacket ?? fragmentedPacket;
|
|
3340
|
+
}
|
|
3341
|
+
|
|
3342
|
+
// The closer one wins
|
|
3343
|
+
return regularPacket.timestamp > fragmentedPacket.timestamp ? regularPacket : fragmentedPacket;
|
|
3278
3344
|
}
|
|
3279
3345
|
|
|
3280
3346
|
async getNextPacket(packet: EncodedPacket, options: PacketRetrievalOptions) {
|
|
3347
|
+
const nextEac3Frame = this.nextEac3Frames.get(packet);
|
|
3348
|
+
if (nextEac3Frame) {
|
|
3349
|
+
return nextEac3Frame;
|
|
3350
|
+
}
|
|
3351
|
+
|
|
3281
3352
|
const regularSampleIndex = this.packetToSampleIndex.get(packet);
|
|
3282
3353
|
|
|
3283
3354
|
if (regularSampleIndex !== undefined) {
|
|
3284
3355
|
// Prefer the non-fragmented packet
|
|
3285
|
-
|
|
3356
|
+
const regularPacket = await this.fetchPacketForSampleIndex(regularSampleIndex + 1, options);
|
|
3357
|
+
if (regularPacket || !this.internalTrack.demuxer.isFragmented) {
|
|
3358
|
+
return regularPacket;
|
|
3359
|
+
}
|
|
3360
|
+
|
|
3361
|
+
// The fragments come after the non-fragmented samples
|
|
3362
|
+
return this.fetchFirstFragmentedPacket(false, options);
|
|
3286
3363
|
}
|
|
3287
3364
|
|
|
3288
3365
|
const locationInFragment = this.packetToFragmentLocation.get(packet);
|
|
@@ -3328,14 +3405,13 @@ abstract class IsobmffTrackBacking implements InputTrackBacking {
|
|
|
3328
3405
|
|
|
3329
3406
|
const sampleTable = this.internalTrack.demuxer.getSampleTableForTrack(this.internalTrack);
|
|
3330
3407
|
const sampleIndex = getKeyframeSampleIndexForTimestamp(sampleTable, timestampInTimescale);
|
|
3331
|
-
const regularPacket = await this.fetchPacketForSampleIndex(sampleIndex, options);
|
|
3408
|
+
const regularPacket = await this.fetchPacketForSampleIndex(sampleIndex, options, timestampInTimescale);
|
|
3332
3409
|
|
|
3333
|
-
if (!
|
|
3334
|
-
// Prefer the non-fragmented packet
|
|
3410
|
+
if (!this.internalTrack.demuxer.isFragmented) {
|
|
3335
3411
|
return regularPacket;
|
|
3336
3412
|
}
|
|
3337
3413
|
|
|
3338
|
-
|
|
3414
|
+
const fragmentedPacket = await this.performFragmentedLookup(
|
|
3339
3415
|
null,
|
|
3340
3416
|
(fragment) => {
|
|
3341
3417
|
const trackData = fragment.trackData.get(this.internalTrack.id);
|
|
@@ -3356,16 +3432,35 @@ abstract class IsobmffTrackBacking implements InputTrackBacking {
|
|
|
3356
3432
|
timestampInTimescale,
|
|
3357
3433
|
timestampInTimescale,
|
|
3358
3434
|
options,
|
|
3435
|
+
true,
|
|
3359
3436
|
);
|
|
3437
|
+
|
|
3438
|
+
if (!regularPacket || !fragmentedPacket) {
|
|
3439
|
+
return regularPacket ?? fragmentedPacket;
|
|
3440
|
+
}
|
|
3441
|
+
|
|
3442
|
+
// The closer one wins
|
|
3443
|
+
return regularPacket.timestamp > fragmentedPacket.timestamp ? regularPacket : fragmentedPacket;
|
|
3360
3444
|
}
|
|
3361
3445
|
|
|
3362
3446
|
async getNextKeyPacket(packet: EncodedPacket, options: PacketRetrievalOptions) {
|
|
3447
|
+
const nextEac3Frame = this.nextEac3Frames.get(packet); // E-AC-3 frames are all key packets
|
|
3448
|
+
if (nextEac3Frame) {
|
|
3449
|
+
return nextEac3Frame;
|
|
3450
|
+
}
|
|
3451
|
+
|
|
3363
3452
|
const regularSampleIndex = this.packetToSampleIndex.get(packet);
|
|
3364
3453
|
if (regularSampleIndex !== undefined) {
|
|
3365
3454
|
// Prefer the non-fragmented packet
|
|
3366
3455
|
const sampleTable = this.internalTrack.demuxer.getSampleTableForTrack(this.internalTrack);
|
|
3367
3456
|
const nextKeyFrameSampleIndex = getNextKeyframeIndexForSample(sampleTable, regularSampleIndex);
|
|
3368
|
-
|
|
3457
|
+
const regularPacket = await this.fetchPacketForSampleIndex(nextKeyFrameSampleIndex, options);
|
|
3458
|
+
if (regularPacket || !this.internalTrack.demuxer.isFragmented) {
|
|
3459
|
+
return regularPacket;
|
|
3460
|
+
}
|
|
3461
|
+
|
|
3462
|
+
// The fragments come after the non-fragmented samples
|
|
3463
|
+
return this.fetchFirstFragmentedPacket(true, options);
|
|
3369
3464
|
}
|
|
3370
3465
|
|
|
3371
3466
|
const locationInFragment = this.packetToFragmentLocation.get(packet);
|
|
@@ -3412,7 +3507,29 @@ abstract class IsobmffTrackBacking implements InputTrackBacking {
|
|
|
3412
3507
|
);
|
|
3413
3508
|
}
|
|
3414
3509
|
|
|
3415
|
-
private
|
|
3510
|
+
private fetchFirstFragmentedPacket(keyPacketsOnly: boolean, options: PacketRetrievalOptions) {
|
|
3511
|
+
return this.performFragmentedLookup(
|
|
3512
|
+
null,
|
|
3513
|
+
(fragment) => {
|
|
3514
|
+
const trackData = fragment.trackData.get(this.internalTrack.id);
|
|
3515
|
+
const sampleIndex = trackData?.samples.findIndex(x => !keyPacketsOnly || x.isKeyFrame) ?? -1;
|
|
3516
|
+
|
|
3517
|
+
return {
|
|
3518
|
+
sampleIndex,
|
|
3519
|
+
correctSampleFound: sampleIndex !== -1,
|
|
3520
|
+
};
|
|
3521
|
+
},
|
|
3522
|
+
-Infinity, // Use -Infinity as a search timestamp to avoid using the lookup entries
|
|
3523
|
+
Infinity,
|
|
3524
|
+
options,
|
|
3525
|
+
);
|
|
3526
|
+
}
|
|
3527
|
+
|
|
3528
|
+
private async fetchPacketForSampleIndex(
|
|
3529
|
+
sampleIndex: number,
|
|
3530
|
+
options: PacketRetrievalOptions,
|
|
3531
|
+
searchTimestamp = -Infinity,
|
|
3532
|
+
) {
|
|
3416
3533
|
if (sampleIndex === -1) {
|
|
3417
3534
|
return null;
|
|
3418
3535
|
}
|
|
@@ -3424,7 +3541,7 @@ abstract class IsobmffTrackBacking implements InputTrackBacking {
|
|
|
3424
3541
|
}
|
|
3425
3542
|
|
|
3426
3543
|
let data: Uint8Array;
|
|
3427
|
-
if (options.metadataOnly) {
|
|
3544
|
+
if (options.metadataOnly && this.internalTrack.info?.codec !== 'eac3') { // E-AC-3 is split by its data
|
|
3428
3545
|
data = PLACEHOLDER_DATA;
|
|
3429
3546
|
} else {
|
|
3430
3547
|
let slice = this.internalTrack.demuxer.reader.requestSlice(
|
|
@@ -3472,12 +3589,21 @@ abstract class IsobmffTrackBacking implements InputTrackBacking {
|
|
|
3472
3589
|
sampleInfo.sampleSize,
|
|
3473
3590
|
);
|
|
3474
3591
|
|
|
3592
|
+
if (this.internalTrack.info?.codec === 'eac3') {
|
|
3593
|
+
return this.splitEac3Sample(packet, options, searchTimestamp, this.packetToSampleIndex, sampleIndex);
|
|
3594
|
+
}
|
|
3595
|
+
|
|
3475
3596
|
this.packetToSampleIndex.set(packet, sampleIndex);
|
|
3476
3597
|
|
|
3477
3598
|
return packet;
|
|
3478
3599
|
}
|
|
3479
3600
|
|
|
3480
|
-
private async fetchPacketInFragment(
|
|
3601
|
+
private async fetchPacketInFragment(
|
|
3602
|
+
fragment: Fragment,
|
|
3603
|
+
sampleIndex: number,
|
|
3604
|
+
options: PacketRetrievalOptions,
|
|
3605
|
+
searchTimestamp: number,
|
|
3606
|
+
) {
|
|
3481
3607
|
if (sampleIndex === -1) {
|
|
3482
3608
|
return null;
|
|
3483
3609
|
}
|
|
@@ -3487,7 +3613,7 @@ abstract class IsobmffTrackBacking implements InputTrackBacking {
|
|
|
3487
3613
|
assert(fragmentSample);
|
|
3488
3614
|
|
|
3489
3615
|
let data: Uint8Array;
|
|
3490
|
-
if (options.metadataOnly) {
|
|
3616
|
+
if (options.metadataOnly && this.internalTrack.info?.codec !== 'eac3') { // E-AC-3 is split by its data
|
|
3491
3617
|
data = PLACEHOLDER_DATA;
|
|
3492
3618
|
} else {
|
|
3493
3619
|
let slice = this.internalTrack.demuxer.reader.requestSlice(
|
|
@@ -3522,6 +3648,13 @@ abstract class IsobmffTrackBacking implements InputTrackBacking {
|
|
|
3522
3648
|
fragmentSample.byteSize,
|
|
3523
3649
|
);
|
|
3524
3650
|
|
|
3651
|
+
if (this.internalTrack.info?.codec === 'eac3') {
|
|
3652
|
+
return this.splitEac3Sample(packet, options, searchTimestamp, this.packetToFragmentLocation, {
|
|
3653
|
+
fragment,
|
|
3654
|
+
sampleIndex,
|
|
3655
|
+
});
|
|
3656
|
+
}
|
|
3657
|
+
|
|
3525
3658
|
this.packetToFragmentLocation.set(packet, { fragment, sampleIndex });
|
|
3526
3659
|
|
|
3527
3660
|
return packet;
|
|
@@ -3538,14 +3671,11 @@ abstract class IsobmffTrackBacking implements InputTrackBacking {
|
|
|
3538
3671
|
// The timestamp for which we know the correct sample will not come after it
|
|
3539
3672
|
latestTimestamp: number,
|
|
3540
3673
|
options: PacketRetrievalOptions,
|
|
3541
|
-
//
|
|
3542
|
-
|
|
3543
|
-
// How many times we've retried due to a faulty lookup table entry
|
|
3544
|
-
lookupRetryCount = 0,
|
|
3674
|
+
// Whether the match must be a key frame, so that position cache entries without one can be skipped
|
|
3675
|
+
requireKeyFrame = false,
|
|
3545
3676
|
): Promise<EncodedPacket | null> {
|
|
3546
|
-
const demuxer = this.internalTrack
|
|
3677
|
+
const { demuxer, fragmentLookupTable, fragmentPositionCache } = this.internalTrack;
|
|
3547
3678
|
|
|
3548
|
-
let currentFragment: Fragment | null = null;
|
|
3549
3679
|
let bestFragment: Fragment | null = null;
|
|
3550
3680
|
let bestSampleIndex = -1;
|
|
3551
3681
|
|
|
@@ -3553,7 +3683,7 @@ abstract class IsobmffTrackBacking implements InputTrackBacking {
|
|
|
3553
3683
|
const { sampleIndex, correctSampleFound } = getMatchInFragment(startFragment);
|
|
3554
3684
|
|
|
3555
3685
|
if (correctSampleFound) {
|
|
3556
|
-
return this.fetchPacketInFragment(startFragment, sampleIndex, options);
|
|
3686
|
+
return this.fetchPacketInFragment(startFragment, sampleIndex, options, searchTimestamp);
|
|
3557
3687
|
}
|
|
3558
3688
|
|
|
3559
3689
|
if (sampleIndex !== -1) {
|
|
@@ -3564,124 +3694,171 @@ abstract class IsobmffTrackBacking implements InputTrackBacking {
|
|
|
3564
3694
|
|
|
3565
3695
|
// Search for a lookup entry; this way, we won't need to start searching from the start of the file
|
|
3566
3696
|
// but can jump right into the correct fragment (or at least nearby).
|
|
3567
|
-
|
|
3568
|
-
|
|
3569
|
-
|
|
3570
|
-
x => x.timestamp,
|
|
3571
|
-
);
|
|
3572
|
-
const lookupEntry = lookupEntryIndex !== -1
|
|
3573
|
-
? this.internalTrack.fragmentLookupTable[lookupEntryIndex]!
|
|
3574
|
-
: null;
|
|
3575
|
-
|
|
3576
|
-
const positionCacheIndex = binarySearchLessOrEqual(
|
|
3577
|
-
this.internalTrack.fragmentPositionCache,
|
|
3578
|
-
searchTimestamp,
|
|
3579
|
-
x => x.startTimestamp,
|
|
3580
|
-
);
|
|
3581
|
-
const positionCacheEntry = positionCacheIndex !== -1
|
|
3582
|
-
? this.internalTrack.fragmentPositionCache[positionCacheIndex]!
|
|
3583
|
-
: null;
|
|
3584
|
-
|
|
3585
|
-
const lookupEntryPosition = Math.max(
|
|
3586
|
-
lookupEntry?.moofOffset ?? 0,
|
|
3587
|
-
positionCacheEntry?.moofOffset ?? 0,
|
|
3588
|
-
) || null;
|
|
3589
|
-
const lookupTableWins = !!lookupEntry && lookupEntry.moofOffset >= (positionCacheEntry?.moofOffset ?? 0);
|
|
3697
|
+
let lookupEntryIndex = binarySearchLessOrEqual(fragmentLookupTable, searchTimestamp, x => x.timestamp);
|
|
3698
|
+
// Fragments read during the lookup land after this index, so it stays valid
|
|
3699
|
+
let positionCacheIndex = binarySearchLessOrEqual(fragmentPositionCache, searchTimestamp, x => x.startTimestamp);
|
|
3590
3700
|
|
|
3591
|
-
|
|
3701
|
+
// The position for which we know the correct sample will not come after it
|
|
3702
|
+
let stopPos = Infinity;
|
|
3592
3703
|
|
|
3593
|
-
|
|
3594
|
-
|
|
3595
|
-
|
|
3596
|
-
|
|
3597
|
-
|
|
3598
|
-
|
|
3599
|
-
|
|
3600
|
-
|
|
3601
|
-
|
|
3704
|
+
while (true) {
|
|
3705
|
+
// Skip lookup entries pointing into fragments we've already scanned
|
|
3706
|
+
while (lookupEntryIndex !== -1 && fragmentLookupTable[lookupEntryIndex]!.moofOffset >= stopPos) {
|
|
3707
|
+
lookupEntryIndex--;
|
|
3708
|
+
}
|
|
3709
|
+
while (
|
|
3710
|
+
positionCacheIndex !== -1
|
|
3711
|
+
&& (
|
|
3712
|
+
fragmentPositionCache[positionCacheIndex]!.moofOffset >= stopPos
|
|
3713
|
+
|| (requireKeyFrame && !fragmentPositionCache[positionCacheIndex]!.hasKeyFrame)
|
|
3714
|
+
)
|
|
3715
|
+
) {
|
|
3716
|
+
positionCacheIndex--;
|
|
3602
3717
|
}
|
|
3603
|
-
}
|
|
3604
3718
|
|
|
3605
|
-
|
|
3719
|
+
const lookupEntryPosition = Math.max(
|
|
3720
|
+
fragmentLookupTable[lookupEntryIndex]?.moofOffset ?? 0,
|
|
3721
|
+
fragmentPositionCache[positionCacheIndex]?.moofOffset ?? 0,
|
|
3722
|
+
) || null;
|
|
3606
3723
|
|
|
3607
|
-
|
|
3608
|
-
|
|
3609
|
-
const trackData = currentFragment.trackData.get(this.internalTrack.id);
|
|
3610
|
-
if (trackData && trackData.startTimestamp > latestTimestamp) {
|
|
3611
|
-
// We're already past the upper bound, no need to keep searching
|
|
3612
|
-
break;
|
|
3613
|
-
}
|
|
3724
|
+
let currentPos: number;
|
|
3725
|
+
let currentFragment: Fragment | null = null;
|
|
3614
3726
|
|
|
3615
|
-
|
|
3727
|
+
if (!startFragment) {
|
|
3728
|
+
currentPos = lookupEntryPosition ?? 0;
|
|
3729
|
+
} else {
|
|
3730
|
+
if (lookupEntryPosition === null || startFragment.moofOffset >= lookupEntryPosition) {
|
|
3731
|
+
currentPos = startFragment.moofOffset + startFragment.moofSize;
|
|
3732
|
+
currentFragment = startFragment;
|
|
3733
|
+
} else {
|
|
3734
|
+
// Use the lookup entry
|
|
3735
|
+
currentPos = lookupEntryPosition;
|
|
3736
|
+
}
|
|
3616
3737
|
}
|
|
3617
3738
|
|
|
3618
|
-
const
|
|
3619
|
-
if (summary && !summary.trackIds.has(this.internalTrack.id)) {
|
|
3620
|
-
// We've read this fragment before and know it has nothing for this track, so let's not read it again
|
|
3621
|
-
currentPos += summary.moofSize;
|
|
3622
|
-
continue;
|
|
3623
|
-
}
|
|
3739
|
+
const scanStartPos = currentFragment ? currentFragment.moofOffset : currentPos;
|
|
3624
3740
|
|
|
3625
|
-
|
|
3626
|
-
|
|
3627
|
-
|
|
3628
|
-
|
|
3741
|
+
while (currentPos < stopPos) {
|
|
3742
|
+
if (currentFragment) {
|
|
3743
|
+
const trackData = currentFragment.trackData.get(this.internalTrack.id);
|
|
3744
|
+
if (trackData && trackData.startTimestamp > latestTimestamp) {
|
|
3745
|
+
// We're already past the upper bound, no need to keep searching
|
|
3746
|
+
break;
|
|
3747
|
+
}
|
|
3629
3748
|
|
|
3630
|
-
|
|
3631
|
-
|
|
3632
|
-
if (!boxInfo) {
|
|
3633
|
-
break;
|
|
3634
|
-
}
|
|
3749
|
+
currentFragment = null; // So we don't process it again next iteration
|
|
3750
|
+
}
|
|
3635
3751
|
|
|
3636
|
-
|
|
3637
|
-
|
|
3638
|
-
|
|
3639
|
-
|
|
3752
|
+
const summary = demuxer.fragmentSummaries.get(currentPos);
|
|
3753
|
+
if (summary && !summary.trackIds.has(this.internalTrack.id)) {
|
|
3754
|
+
// We've read this fragment before and know it has nothing for this track, so let's not read it
|
|
3755
|
+
// again
|
|
3756
|
+
currentPos += summary.moofSize;
|
|
3757
|
+
continue;
|
|
3640
3758
|
}
|
|
3641
3759
|
|
|
3642
|
-
|
|
3643
|
-
|
|
3644
|
-
|
|
3760
|
+
// Load the header
|
|
3761
|
+
let slice = demuxer.reader.requestSliceRange(currentPos, MIN_BOX_HEADER_SIZE, MAX_BOX_HEADER_SIZE);
|
|
3762
|
+
if (isThenable(slice)) slice = await slice;
|
|
3763
|
+
if (!slice) break;
|
|
3764
|
+
|
|
3765
|
+
const boxStartPos = currentPos;
|
|
3766
|
+
const boxInfo = readBoxHeader(slice);
|
|
3767
|
+
if (!boxInfo) {
|
|
3768
|
+
break;
|
|
3645
3769
|
}
|
|
3646
|
-
|
|
3647
|
-
|
|
3648
|
-
|
|
3770
|
+
|
|
3771
|
+
if (boxInfo.name === 'moof') {
|
|
3772
|
+
currentFragment = await demuxer.readFragment(boxStartPos);
|
|
3773
|
+
if (!currentFragment) {
|
|
3774
|
+
break;
|
|
3775
|
+
}
|
|
3776
|
+
|
|
3777
|
+
const { sampleIndex, correctSampleFound } = getMatchInFragment(currentFragment);
|
|
3778
|
+
if (correctSampleFound) {
|
|
3779
|
+
return this.fetchPacketInFragment(currentFragment, sampleIndex, options, searchTimestamp);
|
|
3780
|
+
}
|
|
3781
|
+
if (sampleIndex !== -1) {
|
|
3782
|
+
bestFragment = currentFragment;
|
|
3783
|
+
bestSampleIndex = sampleIndex;
|
|
3784
|
+
}
|
|
3649
3785
|
}
|
|
3786
|
+
|
|
3787
|
+
currentPos = boxStartPos + boxInfo.totalSize;
|
|
3650
3788
|
}
|
|
3651
3789
|
|
|
3652
|
-
|
|
3653
|
-
|
|
3790
|
+
if (lookupEntryPosition === null || (bestFragment && bestFragment.moofOffset >= lookupEntryPosition)) {
|
|
3791
|
+
break;
|
|
3792
|
+
}
|
|
3654
3793
|
|
|
3655
|
-
// Handle unsatisfactory lookup table entries or position cache entries
|
|
3656
|
-
if (lookupEntryPosition !== null && (!bestFragment || bestFragment.moofOffset < lookupEntryPosition)) {
|
|
3657
3794
|
// We found a lookup entry but no fragment from there on that satisfied the match. In this case, let's
|
|
3658
|
-
// search again
|
|
3659
|
-
|
|
3660
|
-
|
|
3661
|
-
const step = 1 << lookupRetryCount;
|
|
3662
|
-
const previousEntryTimestamp = lookupTableWins
|
|
3663
|
-
? this.internalTrack.fragmentLookupTable[lookupEntryIndex - step]?.timestamp
|
|
3664
|
-
: this.internalTrack.fragmentPositionCache[positionCacheIndex - step]?.startTimestamp;
|
|
3665
|
-
const newSearchTimestamp = previousEntryTimestamp ?? -Infinity;
|
|
3666
|
-
|
|
3667
|
-
return this.performFragmentedLookup(
|
|
3668
|
-
null,
|
|
3669
|
-
getMatchInFragment,
|
|
3670
|
-
newSearchTimestamp,
|
|
3671
|
-
latestTimestamp,
|
|
3672
|
-
options,
|
|
3673
|
-
scanStartPos, // So we don't read the same fragments again
|
|
3674
|
-
lookupRetryCount + 1,
|
|
3675
|
-
);
|
|
3795
|
+
// search again from the lookup entry preceding the fragments we just scanned.
|
|
3796
|
+
stopPos = scanStartPos; // So we don't read the same fragments again
|
|
3797
|
+
startFragment = null;
|
|
3676
3798
|
}
|
|
3677
3799
|
|
|
3678
3800
|
if (bestFragment) {
|
|
3679
3801
|
// If we finished looping but didn't find a perfect match, still return the best match we found
|
|
3680
|
-
return this.fetchPacketInFragment(bestFragment, bestSampleIndex, options);
|
|
3802
|
+
return this.fetchPacketInFragment(bestFragment, bestSampleIndex, options, searchTimestamp);
|
|
3681
3803
|
}
|
|
3682
3804
|
|
|
3683
3805
|
return null;
|
|
3684
3806
|
}
|
|
3807
|
+
|
|
3808
|
+
private splitEac3Sample<T>(
|
|
3809
|
+
samplePacket: EncodedPacket,
|
|
3810
|
+
options: PacketRetrievalOptions,
|
|
3811
|
+
searchTimestamp: number,
|
|
3812
|
+
locations: WeakMap<EncodedPacket, T>,
|
|
3813
|
+
location: T,
|
|
3814
|
+
) {
|
|
3815
|
+
// An MP4 sample holds six blocks' worth of E-AC-3 frames (ETSI TS 102 366, Annex F), but a packet is one frame
|
|
3816
|
+
const info = this.internalTrack.info;
|
|
3817
|
+
assert(info?.type === 'audio');
|
|
3818
|
+
|
|
3819
|
+
const frames = splitEac3AudioFrames(samplePacket.data) ?? [{
|
|
3820
|
+
offset: 0,
|
|
3821
|
+
size: samplePacket.data.byteLength,
|
|
3822
|
+
blockCount: 6,
|
|
3823
|
+
}];
|
|
3824
|
+
const searchTimestampInSeconds = (searchTimestamp - this.internalTrack.editListOffset)
|
|
3825
|
+
/ this.internalTrack.timescale;
|
|
3826
|
+
|
|
3827
|
+
let match: EncodedPacket | null = null;
|
|
3828
|
+
let previousPacket: EncodedPacket | null = null;
|
|
3829
|
+
let blocksBefore = 0;
|
|
3830
|
+
|
|
3831
|
+
for (let i = 0; i < frames.length; i++) {
|
|
3832
|
+
const frame = frames[i]!;
|
|
3833
|
+
const timestamp = samplePacket.timestamp + 256 * blocksBefore / info.sampleRate;
|
|
3834
|
+
const duration = frames.length === 1 ? samplePacket.duration : 256 * frame.blockCount / info.sampleRate;
|
|
3835
|
+
|
|
3836
|
+
const packet = new EncodedPacket(
|
|
3837
|
+
options.metadataOnly
|
|
3838
|
+
? PLACEHOLDER_DATA
|
|
3839
|
+
: samplePacket.data.subarray(frame.offset, frame.offset + frame.size),
|
|
3840
|
+
'key',
|
|
3841
|
+
timestamp,
|
|
3842
|
+
duration,
|
|
3843
|
+
8 * samplePacket.sequenceNumber + i,
|
|
3844
|
+
frame.size,
|
|
3845
|
+
);
|
|
3846
|
+
|
|
3847
|
+
locations.set(packet, location);
|
|
3848
|
+
if (previousPacket) {
|
|
3849
|
+
this.nextEac3Frames.set(previousPacket, packet);
|
|
3850
|
+
}
|
|
3851
|
+
if (i === 0 || timestamp <= searchTimestampInSeconds) {
|
|
3852
|
+
match = packet;
|
|
3853
|
+
}
|
|
3854
|
+
|
|
3855
|
+
previousPacket = packet;
|
|
3856
|
+
blocksBefore += frame.blockCount;
|
|
3857
|
+
}
|
|
3858
|
+
|
|
3859
|
+
assert(match);
|
|
3860
|
+
return match;
|
|
3861
|
+
}
|
|
3685
3862
|
}
|
|
3686
3863
|
|
|
3687
3864
|
class IsobmffVideoTrackBacking extends IsobmffTrackBacking implements InputVideoTrackBacking {
|
|
@@ -4104,6 +4281,7 @@ const getNextKeyframeIndexForSample = (sampleTable: SampleTable, sampleIndex: nu
|
|
|
4104
4281
|
const offsetFragmentTrackDataByTimestamp = (trackData: FragmentTrackData, timestamp: number) => {
|
|
4105
4282
|
trackData.startTimestamp += timestamp;
|
|
4106
4283
|
trackData.endTimestamp += timestamp;
|
|
4284
|
+
trackData.endDecodeTimestamp += timestamp;
|
|
4107
4285
|
|
|
4108
4286
|
for (const sample of trackData.samples) {
|
|
4109
4287
|
sample.presentationTimestamp += timestamp;
|
|
@@ -4147,10 +4325,6 @@ const applySpsPixelAspectRatio = (track: InternalTrack, pixelAspectRatio: Ration
|
|
|
4147
4325
|
}
|
|
4148
4326
|
};
|
|
4149
4327
|
|
|
4150
|
-
const sampleTableIsEmpty = (sampleTable: SampleTable) => {
|
|
4151
|
-
return sampleTable.sampleSizes.length === 0;
|
|
4152
|
-
};
|
|
4153
|
-
|
|
4154
4328
|
const capEntryCounts = (entries: { startIndex: number; count: number }[], sampleCount: number) => {
|
|
4155
4329
|
while (entries.length > 0 && last(entries)!.startIndex >= sampleCount) {
|
|
4156
4330
|
entries.pop();
|
|
@@ -4162,9 +4336,9 @@ const capEntryCounts = (entries: { startIndex: number; count: number }[], sample
|
|
|
4162
4336
|
}
|
|
4163
4337
|
};
|
|
4164
4338
|
|
|
4165
|
-
const getOrCreateEncryptionAuxInfo = (track: InternalTrack) => {
|
|
4166
|
-
if (
|
|
4167
|
-
return
|
|
4339
|
+
const getOrCreateEncryptionAuxInfo = (track: InternalTrack, fragmentTrackState: FragmentTrackState | null) => {
|
|
4340
|
+
if (fragmentTrackState) {
|
|
4341
|
+
return fragmentTrackState.encryptionAuxInfo ??= {
|
|
4168
4342
|
defaultSampleInfoSize: 0,
|
|
4169
4343
|
sampleSizes: null,
|
|
4170
4344
|
sampleCount: 0,
|