agentroam-runtime-darwin-arm64 0.2.0-preview.72 → 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 +2 -2
- package/package.json +1 -1
- package/runtime/.next/BUILD_ID +1 -1
- package/runtime/.next/app-build-manifest.json +9 -9
- 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 +2 -2
- 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 +9 -9
- package/runtime/.next/server/app/api/collaboration/route.js.nft.json +1 -1
- 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 +2 -2
- 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 -1
- package/runtime/.next/server/app/api/messaging/route.js.nft.json +1 -1
- 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 +2 -2
- 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 -1
- 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 +4 -4
- package/runtime/.next/server/app/web/page_client-reference-manifest.js +1 -1
- package/runtime/.next/server/app-paths-manifest.json +47 -43
- package/runtime/.next/server/chunks/1614.js +1 -1
- package/runtime/.next/server/chunks/5303.js +1 -1
- package/runtime/.next/server/chunks/5762.js +18 -0
- package/runtime/.next/server/chunks/6977.js +1 -1
- 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-36b287ca40eab041.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-94a733696db11b91.js → main-93c452d518291b1c.js} +1 -1
- package/runtime/.next/static/chunks/{main-app-07b9ccbb642d9b9d.js → main-app-20135c1d85680f16.js} +1 -1
- 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/node_modules/.package-lock.json +30 -30
- package/runtime/node_modules/@agent/core/dist/index.js +874 -128
- package/runtime/node_modules/@agent/messaging/dist/assets/wecom/reader.py +185 -15
- 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/native-runtime/dist/index.js +171 -34
- package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/README.md +1 -1
- package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/bridge.mjs +104 -84
- 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-9je8ee1j.mjs +16 -0
- 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 +23 -23
- package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/manifest.zst.json +27 -27
- package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/package.json +21 -14
- package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/sdk.mjs +96 -85
- 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/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/dist/bundles/mediabunny.cjs +4312 -2466
- 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 +4312 -2466
- package/runtime/node_modules/mediabunny/dist/bundles/mediabunny.node.cjs +4312 -2466
- 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/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 +144 -96
- 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 -21
- package/runtime/node_modules/mediabunny/dist/modules/src/isobmff/isobmff-demuxer.js +347 -216
- 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 +193 -99
- 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 +237 -129
- 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 +11 -1
- 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 +5 -4
- 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/codec-data.ts +249 -52
- package/runtime/node_modules/mediabunny/src/codec.ts +85 -58
- package/runtime/node_modules/mediabunny/src/conversion.ts +161 -94
- 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 +118 -21
- package/runtime/node_modules/mediabunny/src/isobmff/isobmff-demuxer.ts +435 -253
- 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 +212 -103
- 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 +263 -141
- 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 +14 -1
- 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/lib/websocket-server.js +3 -0
- package/runtime/node_modules/ws/lib/websocket.js +38 -7
- package/runtime/node_modules/ws/package.json +1 -1
- package/runtime/package-lock.json +54 -54
- 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-DBuhzcId.js → AiHubPane-LnfAKHOH.js} +1 -1
- package/runtime/webapp/dist/assets/App-Cm4c_ukZ.js +177 -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-CkY_jNql.js → FilePreview-DIsjFx4f.js} +9 -14
- package/runtime/webapp/dist/assets/FileTree-BJe67ELr.js +11 -0
- 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/{RunningSessionsIcon-BbgfV3Y9.js → RunningSessionsIcon-DRhO-CVq.js} +1 -1
- package/runtime/webapp/dist/assets/SessionDashboard-C6En31sg.js +21 -0
- package/runtime/webapp/dist/assets/{SessionDashboardBridge-DEUcW6SI.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-BLqkE0Sr.js → TerminalPane-D121NsSc.js} +2 -2
- package/runtime/webapp/dist/assets/{abnfDiagram-VCTEODGH-DeYUTKWn.js → abnfDiagram-VCTEODGH-CSTtPfA-.js} +1 -1
- package/runtime/webapp/dist/assets/arc-pE43fNGK.js +1 -0
- package/runtime/webapp/dist/assets/{architectureDiagram-5GKGNRK7-CuFeRT7v.js → architectureDiagram-5GKGNRK7-BlExjf1L.js} +1 -1
- package/runtime/webapp/dist/assets/{arrow-right-CBoNjLZc.js → arrow-right-CED95s1t.js} +1 -1
- package/runtime/webapp/dist/assets/{artifact-links-DPEFlv87.js → artifact-links-BWD7xpfV.js} +1 -1
- package/runtime/webapp/dist/assets/{blockDiagram-I7D4REHJ-CSQFiZW1.js → blockDiagram-I7D4REHJ-4pzU0s_A.js} +1 -1
- package/runtime/webapp/dist/assets/{c4Diagram-7LVT6UL2-Dp0yNsZN.js → c4Diagram-7LVT6UL2-DBoJHf0c.js} +1 -1
- package/runtime/webapp/dist/assets/channel-C029kbz3.js +1 -0
- package/runtime/webapp/dist/assets/{chevron-down-DqV6YJGE.js → chevron-down-DuxUTH_N.js} +1 -1
- package/runtime/webapp/dist/assets/{chunk-2Q5K7J3B-HGRodfIv.js → chunk-2Q5K7J3B-Bu1Sc-w9.js} +1 -1
- package/runtime/webapp/dist/assets/{chunk-5VM5RSS4-CBrQNVFD.js → chunk-5VM5RSS4-COwAF0w2.js} +1 -1
- package/runtime/webapp/dist/assets/{chunk-F27PBJKO-DB6uGYpD.js → chunk-F27PBJKO-FLl8DRP2.js} +1 -1
- package/runtime/webapp/dist/assets/{chunk-IMKFNOWR-Dedjjkdt.js → chunk-IMKFNOWR-BL8M_b-w.js} +3 -3
- package/runtime/webapp/dist/assets/{chunk-JWPE2WC7-CFqPSTPh.js → chunk-JWPE2WC7-Bm0OpXaO.js} +1 -1
- package/runtime/webapp/dist/assets/{chunk-POPQ4Y6H-3acvfPpy.js → chunk-POPQ4Y6H-Be_mjw7_.js} +1 -1
- package/runtime/webapp/dist/assets/{chunk-SVP7TREG-Bn9tMxLG.js → chunk-SVP7TREG-Dijp9l1U.js} +3 -3
- package/runtime/webapp/dist/assets/{chunk-TICWLB2K-BjPHa9Ep.js → chunk-TICWLB2K-CJDtjon2.js} +1 -1
- package/runtime/webapp/dist/assets/{chunk-XXDRQBXY-pSIpAtkj.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/{codeSyntax-Bs__ElW1.js → codeSyntax-BnmCqa8x.js} +3 -3
- package/runtime/webapp/dist/assets/{collaboration-xcnZxf7i.js → collaboration-B0sTZDns.js} +1 -1
- package/runtime/webapp/dist/assets/composer-file-routing-BrWLenKF.js +11 -0
- package/runtime/webapp/dist/assets/{cose-bilkent-JH36ORCC-Cc1ea8TO.js → cose-bilkent-JH36ORCC-cA67vOKJ.js} +1 -1
- package/runtime/webapp/dist/assets/{cynefin-OW5HDTMX-B2IeHhVa.js → cynefin-OW5HDTMX-BPeSii-l.js} +1 -1
- package/runtime/webapp/dist/assets/{cynefinDiagram-5FMLGOSQ-BeZhQnWx.js → cynefinDiagram-5FMLGOSQ-B9f094pg.js} +2 -2
- package/runtime/webapp/dist/assets/{dagre-GXQ25YYZ-DF08UpVJ.js → dagre-GXQ25YYZ-C_xejuzH.js} +2 -2
- package/runtime/webapp/dist/assets/{diagram-S7CK7UJ4-Cx_tPRJp.js → diagram-S7CK7UJ4-0f77MjI_.js} +1 -1
- package/runtime/webapp/dist/assets/{diagram-UQ7AKVKN-Cb6fFvJt.js → diagram-UQ7AKVKN-B7qqB6UY.js} +1 -1
- package/runtime/webapp/dist/assets/{diagram-VSXAHHWV-CvuweBru.js → diagram-VSXAHHWV-eS0I06tX.js} +1 -1
- package/runtime/webapp/dist/assets/{diagram-VX7I27RA-BYouVdoe.js → diagram-VX7I27RA-BzaPvwZL.js} +1 -1
- package/runtime/webapp/dist/assets/{diagram-Z3DM3KII-DRBjsxYw.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-CxHOPzwg.js → ebnfDiagram-PWID7BFC-CpSazgmq.js} +1 -1
- package/runtime/webapp/dist/assets/{erDiagram-RLTQ6QDP-tUK9K8ZD.js → erDiagram-RLTQ6QDP-BbAq4dnX.js} +1 -1
- package/runtime/webapp/dist/assets/{external-link-DpecT7Vm.js → external-link-D0ZU8y72.js} +1 -1
- package/runtime/webapp/dist/assets/{file-types-CfFmgvNi.js → file-types-Bv8xIlsm.js} +9 -4
- package/runtime/webapp/dist/assets/{flowDiagram-HODETNUW-BFd8shzR.js → flowDiagram-HODETNUW-FxtiM8S_.js} +5 -5
- package/runtime/webapp/dist/assets/{ganttDiagram-EL5Y4UJY-Dt3qJ3nR.js → ganttDiagram-EL5Y4UJY-vbQAmYA_.js} +2 -2
- package/runtime/webapp/dist/assets/{gitGraphDiagram-WWUBYQGX-L22kw422.js → gitGraphDiagram-WWUBYQGX-CoH-vS6p.js} +1 -1
- package/runtime/webapp/dist/assets/{image-plus-Bzr6FXFm.js → image-plus-CMQPwQ1a.js} +1 -1
- package/runtime/webapp/dist/assets/{index-C165MF0E.js → index-B_qrzBSm.js} +48 -48
- package/runtime/webapp/dist/assets/index-DFMBt4EW.css +1 -0
- package/runtime/webapp/dist/assets/{infoDiagram-27XIBGKW-DBrWW4hh.js → infoDiagram-27XIBGKW-BhQjKjwI.js} +1 -1
- package/runtime/webapp/dist/assets/{ishikawaDiagram-5VMMS53U-BiQERurn.js → ishikawaDiagram-5VMMS53U-Do6164Lq.js} +1 -1
- package/runtime/webapp/dist/assets/{journeyDiagram-3NMN7TZE-CbuOAsvy.js → journeyDiagram-3NMN7TZE-DU9terNG.js} +1 -1
- package/runtime/webapp/dist/assets/{kanban-definition-UXKFOSKX-BS0cpYtD.js → kanban-definition-UXKFOSKX-PIi78bMz.js} +5 -5
- package/runtime/webapp/dist/assets/layout-kIcBLq12.js +1 -0
- package/runtime/webapp/dist/assets/{linear-DOnDPVCl.js → linear-DuoGw6Ne.js} +1 -1
- package/runtime/webapp/dist/assets/{loader-circle-DzxGeGeP.js → loader-circle-CkN6rr8Q.js} +1 -1
- package/runtime/webapp/dist/assets/{mermaid.core-CIbk74HW.js → mermaid.core-CMSVAwDO.js} +6 -6
- package/runtime/webapp/dist/assets/{mindmap-definition-YA3MSWOX-BXA3aIva.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-oUTq5zGX.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-BDJl9Tah.js → quadrantDiagram-AXDQQJYC-B6Nk3my2.js} +2 -2
- package/runtime/webapp/dist/assets/{railroadDiagram-O6MQD6OU-BCu1VCKA.js → railroadDiagram-O6MQD6OU-9HdWlkSi.js} +1 -1
- package/runtime/webapp/dist/assets/{requirementDiagram-BXWQKSXE-CqUIqsRU.js → requirementDiagram-BXWQKSXE-CJ72A4ch.js} +1 -1
- package/runtime/webapp/dist/assets/{rotate-ccw-Bjr9jTxM.js → rotate-ccw-CFOlggPt.js} +1 -1
- package/runtime/webapp/dist/assets/{rotate-cw-A1YTnj9Q.js → rotate-cw-CV6TU7ho.js} +1 -1
- package/runtime/webapp/dist/assets/{sankeyDiagram-P5KCCOFB-DaveIjpG.js → sankeyDiagram-P5KCCOFB-B0k_-2GA.js} +1 -1
- package/runtime/webapp/dist/assets/{send-BEl9srBG.js → send-Br8F4frT.js} +1 -1
- package/runtime/webapp/dist/assets/{sequenceDiagram-WJ2MYXX4-C7zRgFw8.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/{shield-check-C79GaqpX.js → shield-check-C_XCddHW.js} +1 -1
- package/runtime/webapp/dist/assets/{sizeCapture-INFHLROL-BKOrYnP1.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-CbDMTwgn.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-CanMvfCK.js → timeline-definition-24CTP7MA-DGmgxtYO.js} +1 -1
- package/runtime/webapp/dist/assets/{trash-2-RnFgAyKW.js → trash-2-Drt7yRIe.js} +10 -5
- package/runtime/webapp/dist/assets/{types-DguAd3Ud.js → types-BOD4WqhS.js} +1 -1
- package/runtime/webapp/dist/assets/{vennDiagram-4TSXK5OY-CR-V0-y3.js → vennDiagram-4TSXK5OY-XbldOddh.js} +1 -1
- package/runtime/webapp/dist/assets/{wardleyDiagram-VM6X3IG4-CjTtvx6s.js → wardleyDiagram-VM6X3IG4-DrGMS-oH.js} +1 -1
- package/runtime/webapp/dist/assets/{web-DPag1EjS.js → web-Crv8v2xB.js} +1 -1
- package/runtime/webapp/dist/assets/{web-DedGjdA8.js → web-DQg6oOed.js} +1 -1
- package/runtime/webapp/dist/assets/{x-Bx8qOEL4.js → x-8eDWe1V2.js} +1 -1
- package/runtime/webapp/dist/assets/{xychartDiagram-S5SC5T6Z-D2959gYR.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 +3 -6
- package/runtime/.next/server/chunks/1973.js +0 -1
- package/runtime/.next/static/chunks/50-0b6604ece6278dc2.js +0 -1
- package/runtime/.next/static/chunks/app/web/layout-62386960d8601cc2.js +0 -1
- package/runtime/.next/static/chunks/app/web/page-6b37d8153e607928.js +0 -1
- package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-8zdh6hy9.mjs +0 -45
- package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-b5da77cd.mjs +0 -34
- package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-f2yzhw4m.mjs +0 -18
- package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-j29a9c1a.mjs +0 -17
- package/runtime/node_modules/graceful-fs/LICENSE +0 -15
- package/runtime/webapp/dist/assets/App-D3-qxUjs.js +0 -187
- package/runtime/webapp/dist/assets/BrowserLivePanel-BywwOAML.js +0 -76
- package/runtime/webapp/dist/assets/CollaborationDashboard-DQeiZyu9.js +0 -1
- package/runtime/webapp/dist/assets/CollaborationPage-CGymkv8f.js +0 -16
- package/runtime/webapp/dist/assets/FileTree-W85iiqhO.js +0 -11
- package/runtime/webapp/dist/assets/FlowStudioPane-Ccp0FhYn.js +0 -5
- package/runtime/webapp/dist/assets/MessagingBridge-D_cArR8-.js +0 -6
- package/runtime/webapp/dist/assets/MessagingPage-BIgDwGgU.js +0 -7
- package/runtime/webapp/dist/assets/MessagingPage-CpRafjqY.css +0 -1
- package/runtime/webapp/dist/assets/RemoteDesktopPage-Di31a6s4.js +0 -1
- package/runtime/webapp/dist/assets/SessionDashboard-a7HETCwZ.js +0 -16
- package/runtime/webapp/dist/assets/arc-Fb_TLw7m.js +0 -1
- package/runtime/webapp/dist/assets/arrow-left-ChO37N0V.js +0 -6
- package/runtime/webapp/dist/assets/channel-CcOPsanj.js +0 -1
- package/runtime/webapp/dist/assets/classDiagram-ZZMXUADV-De9Vn3qI.js +0 -1
- package/runtime/webapp/dist/assets/classDiagram-v2-VYDZK3BY-De9Vn3qI.js +0 -1
- package/runtime/webapp/dist/assets/index-IYQjHlQx.css +0 -1
- package/runtime/webapp/dist/assets/layout-C6lzLyIZ.js +0 -1
- package/runtime/webapp/dist/assets/page-oP1ftgSe.js +0 -91
- package/runtime/webapp/dist/assets/pieDiagram-E7YTZNPT-CES_HFyS.js +0 -39
- package/runtime/webapp/dist/assets/search-rB9Vl5Kd.js +0 -6
- package/runtime/webapp/dist/assets/stateDiagram-D77RDMKH-Cz_WH93D.js +0 -1
- package/runtime/webapp/dist/assets/stateDiagram-v2-MP3YSRHH-Dw9aybAU.js +0 -1
- package/runtime/webapp/dist/assets/swimlanesDiagram-VR7AAH4N-CZrm7vi4.js +0 -8
- package/runtime/webapp/dist/assets/use-error-notice-_MLy2aPZ.js +0 -11
- /package/runtime/.next/static/{ngVhkJylacc9Set69K3lG → fg72y0mrQ518VXPNOLU1t}/_buildManifest.js +0 -0
- /package/runtime/.next/static/{ngVhkJylacc9Set69K3lG → fg72y0mrQ518VXPNOLU1t}/_ssgManifest.js +0 -0
- /package/runtime/webapp/dist/assets/{use-error-notice-CAYVDT8Z.css → SessionDashboard-CAYVDT8Z.css} +0 -0
- /package/runtime/webapp/dist/assets/{SessionDashboard-D3n4eFut.css → session-dashboard-D3n4eFut.css} +0 -0
|
@@ -26,6 +26,7 @@ import { OutputAudioTrack, OutputSubtitleTrack, OutputTrack, OutputVideoTrack }
|
|
|
26
26
|
import {
|
|
27
27
|
assert,
|
|
28
28
|
assertNever,
|
|
29
|
+
AsyncMutex,
|
|
29
30
|
binarySearchLessOrEqual,
|
|
30
31
|
CallSerializer,
|
|
31
32
|
clamp,
|
|
@@ -102,8 +103,6 @@ export abstract class MediaSource {
|
|
|
102
103
|
_connectedTrack: OutputTrack | null = null;
|
|
103
104
|
/** @internal */
|
|
104
105
|
_closingPromise: Promise<void> | null = null;
|
|
105
|
-
/** @internal */
|
|
106
|
-
_closed = false;
|
|
107
106
|
/**
|
|
108
107
|
* Set when the encoder is configured with a bitrate.
|
|
109
108
|
* @internal
|
|
@@ -128,7 +127,7 @@ export abstract class MediaSource {
|
|
|
128
127
|
throw new Error('Output has not started.');
|
|
129
128
|
}
|
|
130
129
|
|
|
131
|
-
if (this.
|
|
130
|
+
if (this._closingPromise) {
|
|
132
131
|
throw new Error('Source is closed.');
|
|
133
132
|
}
|
|
134
133
|
}
|
|
@@ -162,22 +161,19 @@ export abstract class MediaSource {
|
|
|
162
161
|
this._closingPromise = (async () => {
|
|
163
162
|
await this._flushAndClose(false);
|
|
164
163
|
|
|
165
|
-
this._closed = true;
|
|
166
|
-
|
|
167
164
|
if (connectedTrack.output.state === 'finalizing' || connectedTrack.output.state === 'finalized') {
|
|
168
165
|
return;
|
|
169
166
|
}
|
|
170
167
|
|
|
171
|
-
connectedTrack.output._muxer.onTrackClose(connectedTrack);
|
|
168
|
+
await connectedTrack.output._muxer.onTrackClose(connectedTrack);
|
|
172
169
|
})();
|
|
170
|
+
|
|
171
|
+
this._closingPromise.catch(() => {});
|
|
173
172
|
}
|
|
174
173
|
|
|
175
174
|
/** @internal */
|
|
176
175
|
async _flushOrWaitForOngoingClose(forceClose: boolean) {
|
|
177
|
-
return this._closingPromise ??= (
|
|
178
|
-
await this._flushAndClose(forceClose);
|
|
179
|
-
this._closed = true;
|
|
180
|
-
})();
|
|
176
|
+
return this._closingPromise ??= this._flushAndClose(forceClose);
|
|
181
177
|
}
|
|
182
178
|
}
|
|
183
179
|
|
|
@@ -257,7 +253,7 @@ class VideoEncoderWrapper {
|
|
|
257
253
|
// Set when the browser closed our encoders due to inactivity; they'll be recreated on the next encode
|
|
258
254
|
private encodersReclaimed = false;
|
|
259
255
|
private muxer: Muxer | null = null;
|
|
260
|
-
private lastMultipleOfKeyFrameInterval =
|
|
256
|
+
private lastMultipleOfKeyFrameInterval: number | null = null;
|
|
261
257
|
private emittedEncoderPackets = 0;
|
|
262
258
|
private chunkTimestampsAreShiftedByDuration = false; // See detectAvcChunkTimestampShift
|
|
263
259
|
|
|
@@ -268,6 +264,8 @@ class VideoEncoderWrapper {
|
|
|
268
264
|
private outputWidth: number | null = null;
|
|
269
265
|
private outputHeight: number | null = null;
|
|
270
266
|
|
|
267
|
+
private addMutex = new AsyncMutex();
|
|
268
|
+
|
|
271
269
|
// Frame rate normalization state
|
|
272
270
|
private frameRateLastSample: VideoSample | null = null;
|
|
273
271
|
private frameRateLastTimestamp: number | null = null;
|
|
@@ -318,10 +316,15 @@ class VideoEncoderWrapper {
|
|
|
318
316
|
|
|
319
317
|
async add(videoSample: VideoSample, shouldClose: boolean, encodeOptions?: VideoEncoderEncodeOptions) {
|
|
320
318
|
const originalSample = videoSample;
|
|
319
|
+
let release: (() => void) | null = null;
|
|
321
320
|
|
|
322
321
|
try {
|
|
323
322
|
this.checkForEncoderError();
|
|
324
|
-
|
|
323
|
+
|
|
324
|
+
release = await this.addMutex.acquire();
|
|
325
|
+
if (this.closed) {
|
|
326
|
+
return; // Canceled while waiting
|
|
327
|
+
}
|
|
325
328
|
|
|
326
329
|
const config = this.encodingConfig;
|
|
327
330
|
const sizeChangeBehavior = config.sizeChangeBehavior ?? 'deny';
|
|
@@ -351,6 +354,7 @@ class VideoEncoderWrapper {
|
|
|
351
354
|
|| config.transform?.rotate !== undefined
|
|
352
355
|
|| config.transform?.flip !== undefined
|
|
353
356
|
|| config.transform?.crop !== undefined
|
|
357
|
+
|| config.transform?.alpha === 'discard'
|
|
354
358
|
|| config.transform?.force === true;
|
|
355
359
|
const needsTransform = hasTransformConfig || (isSizeChange && sizeChangeBehavior !== 'passThrough');
|
|
356
360
|
|
|
@@ -359,15 +363,17 @@ class VideoEncoderWrapper {
|
|
|
359
363
|
let targetHeight = config.transform?.height;
|
|
360
364
|
let appliedFit: 'fill' | 'contain' | 'cover' = config.transform?.fit ?? 'fill';
|
|
361
365
|
|
|
366
|
+
if (sizeChangeBehavior !== 'deny' && sizeChangeBehavior !== 'passThrough') {
|
|
367
|
+
appliedFit = sizeChangeBehavior;
|
|
368
|
+
}
|
|
369
|
+
|
|
362
370
|
// If the size changed and behavior is fill/contain/cover, lock to the original output dimensions
|
|
363
371
|
if (isSizeChange && sizeChangeBehavior !== 'passThrough') {
|
|
364
372
|
assert(this.outputWidth);
|
|
365
373
|
assert(this.outputHeight);
|
|
366
|
-
assert(sizeChangeBehavior !== 'deny');
|
|
367
374
|
|
|
368
375
|
targetWidth = this.outputWidth!;
|
|
369
376
|
targetHeight = this.outputHeight!;
|
|
370
|
-
appliedFit = sizeChangeBehavior;
|
|
371
377
|
}
|
|
372
378
|
|
|
373
379
|
const transformed = await videoSample.transform({
|
|
@@ -378,7 +384,7 @@ class VideoEncoderWrapper {
|
|
|
378
384
|
rotate: config.transform?.rotate,
|
|
379
385
|
flip: config.transform?.flip,
|
|
380
386
|
fit: appliedFit,
|
|
381
|
-
alpha: config.alpha,
|
|
387
|
+
alpha: config.transform?.alpha,
|
|
382
388
|
});
|
|
383
389
|
|
|
384
390
|
// Save the output dimensions of the first frame
|
|
@@ -420,9 +426,14 @@ class VideoEncoderWrapper {
|
|
|
420
426
|
}
|
|
421
427
|
}
|
|
422
428
|
|
|
423
|
-
// Clone if the sample is still the
|
|
429
|
+
// Clone if the sample is still the original, to avoid mutating it
|
|
424
430
|
if (videoSample === originalSample) {
|
|
425
|
-
|
|
431
|
+
const clone = videoSample.clone();
|
|
432
|
+
if (shouldClose) {
|
|
433
|
+
videoSample.close();
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
videoSample = clone;
|
|
426
437
|
shouldClose = true;
|
|
427
438
|
}
|
|
428
439
|
|
|
@@ -437,6 +448,8 @@ class VideoEncoderWrapper {
|
|
|
437
448
|
|
|
438
449
|
await this.processAndEncode(videoSample, encodeOptions);
|
|
439
450
|
} finally {
|
|
451
|
+
release?.();
|
|
452
|
+
|
|
440
453
|
if (shouldClose) {
|
|
441
454
|
videoSample.close();
|
|
442
455
|
}
|
|
@@ -828,6 +841,7 @@ class VideoEncoderWrapper {
|
|
|
828
841
|
|
|
829
842
|
this.encoderInitialized = true;
|
|
830
843
|
})();
|
|
844
|
+
this.ensureEncoderPromise.catch((error: unknown) => this.setError(error));
|
|
831
845
|
}
|
|
832
846
|
|
|
833
847
|
private createWebCodecsEncoders() {
|
|
@@ -858,38 +872,42 @@ class VideoEncoderWrapper {
|
|
|
858
872
|
|
|
859
873
|
this.encoder = new VideoEncoder({
|
|
860
874
|
output: (chunk, meta) => {
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
875
|
+
try {
|
|
876
|
+
if (!this.alphaEncoder) {
|
|
877
|
+
// We're done
|
|
878
|
+
this.addPacket(chunk, null, meta);
|
|
879
|
+
return;
|
|
880
|
+
}
|
|
866
881
|
|
|
867
|
-
|
|
868
|
-
|
|
882
|
+
const alphaFrame = this.alphaFrameQueue.shift();
|
|
883
|
+
assert(alphaFrame !== undefined);
|
|
869
884
|
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
colorChunkQueue.push({ chunk, meta });
|
|
881
|
-
} else {
|
|
882
|
-
// There was no alpha component for this frame
|
|
883
|
-
if (alphaEncoderQueue === 0) {
|
|
884
|
-
// No pending alpha encodes either, so we're done
|
|
885
|
-
this.addPacket(chunk, null, meta);
|
|
886
|
-
} else {
|
|
887
|
-
// There are still alpha encodes pending, so we can't add the packet immediately since
|
|
888
|
-
// we'd end up with out-of-order packets. Instead, let's queue a null alpha chunk to be
|
|
889
|
-
// added in the future, after the current encoder workload has completed:
|
|
890
|
-
nullAlphaChunkQueue.push(encodedAlphaChunkCount + alphaEncoderQueue);
|
|
885
|
+
if (alphaFrame) {
|
|
886
|
+
this.alphaEncoder.encode(alphaFrame, {
|
|
887
|
+
...this.defaultEncodeOptions,
|
|
888
|
+
// Crucial: The alpha frame is forced to be a key frame whenever the color frame
|
|
889
|
+
// also is. Without this, playback can glitch and even crash in some browsers.
|
|
890
|
+
// This is the reason why the two encoders are wired in series and not in parallel.
|
|
891
|
+
keyFrame: chunk.type === 'key',
|
|
892
|
+
});
|
|
893
|
+
alphaEncoderQueue++;
|
|
894
|
+
alphaFrame.close();
|
|
891
895
|
colorChunkQueue.push({ chunk, meta });
|
|
896
|
+
} else {
|
|
897
|
+
// There was no alpha component for this frame
|
|
898
|
+
if (alphaEncoderQueue === 0) {
|
|
899
|
+
// No pending alpha encodes either, so we're done
|
|
900
|
+
this.addPacket(chunk, null, meta);
|
|
901
|
+
} else {
|
|
902
|
+
// There are still alpha encodes pending, so we can't add the packet immediately since
|
|
903
|
+
// we'd end up with out-of-order packets. Instead, let's queue a null alpha chunk to be
|
|
904
|
+
// added in the future, after the current encoder workload has completed:
|
|
905
|
+
nullAlphaChunkQueue.push(encodedAlphaChunkCount + alphaEncoderQueue);
|
|
906
|
+
colorChunkQueue.push({ chunk, meta });
|
|
907
|
+
}
|
|
892
908
|
}
|
|
909
|
+
} catch (error) {
|
|
910
|
+
this.setError(error);
|
|
893
911
|
}
|
|
894
912
|
},
|
|
895
913
|
error: error => handleError(error, stack),
|
|
@@ -904,25 +922,29 @@ class VideoEncoderWrapper {
|
|
|
904
922
|
// We ignore the alpha chunk's metadata
|
|
905
923
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
906
924
|
output: (chunk, meta) => {
|
|
907
|
-
|
|
925
|
+
try {
|
|
926
|
+
alphaEncoderQueue--;
|
|
908
927
|
|
|
909
|
-
|
|
910
|
-
const colorChunk = colorChunkQueue.shift();
|
|
911
|
-
assert(colorChunk !== undefined);
|
|
912
|
-
|
|
913
|
-
this.addPacket(colorChunk.chunk, chunk, colorChunk.meta);
|
|
914
|
-
|
|
915
|
-
// See if there are any null alpha chunks queued up
|
|
916
|
-
encodedAlphaChunkCount++;
|
|
917
|
-
while (
|
|
918
|
-
nullAlphaChunkQueue.length > 0
|
|
919
|
-
&& nullAlphaChunkQueue[0] === encodedAlphaChunkCount
|
|
920
|
-
) {
|
|
921
|
-
nullAlphaChunkQueue.shift();
|
|
928
|
+
// There has to be a color chunk because the encoders are wired in series
|
|
922
929
|
const colorChunk = colorChunkQueue.shift();
|
|
923
930
|
assert(colorChunk !== undefined);
|
|
924
931
|
|
|
925
|
-
this.addPacket(colorChunk.chunk,
|
|
932
|
+
this.addPacket(colorChunk.chunk, chunk, colorChunk.meta);
|
|
933
|
+
|
|
934
|
+
// See if there are any null alpha chunks queued up
|
|
935
|
+
encodedAlphaChunkCount++;
|
|
936
|
+
while (
|
|
937
|
+
nullAlphaChunkQueue.length > 0
|
|
938
|
+
&& nullAlphaChunkQueue[0] === encodedAlphaChunkCount
|
|
939
|
+
) {
|
|
940
|
+
nullAlphaChunkQueue.shift();
|
|
941
|
+
const colorChunk = colorChunkQueue.shift();
|
|
942
|
+
assert(colorChunk !== undefined);
|
|
943
|
+
|
|
944
|
+
this.addPacket(colorChunk.chunk, null, colorChunk.meta);
|
|
945
|
+
}
|
|
946
|
+
} catch (error) {
|
|
947
|
+
this.setError(error);
|
|
926
948
|
}
|
|
927
949
|
},
|
|
928
950
|
error: error => handleError(error, stack),
|
|
@@ -969,6 +991,11 @@ class VideoEncoderWrapper {
|
|
|
969
991
|
avcCodecInfo: this.encodingConfig.codec === 'avc' && !meta.decoderConfig.description
|
|
970
992
|
? extractAvcDecoderConfigurationRecord(packet.data)
|
|
971
993
|
: null,
|
|
994
|
+
hevcType: encoderConfig.codec.includes('hev1.')
|
|
995
|
+
? 'hev1'
|
|
996
|
+
: encoderConfig.codec.includes('hvc1.')
|
|
997
|
+
? 'hvc1'
|
|
998
|
+
: null,
|
|
972
999
|
hevcCodecInfo: this.encodingConfig.codec === 'hevc' && !meta.decoderConfig.description
|
|
973
1000
|
? extractHevcDecoderConfigurationRecord(packet.data)
|
|
974
1001
|
: null,
|
|
@@ -1073,21 +1100,29 @@ class VideoEncoderWrapper {
|
|
|
1073
1100
|
this.alphaFrameQueue.length = 0;
|
|
1074
1101
|
|
|
1075
1102
|
this.encodersReclaimed = false;
|
|
1076
|
-
this.lastMultipleOfKeyFrameInterval =
|
|
1103
|
+
this.lastMultipleOfKeyFrameInterval = null; // The fresh encoder must start with a key frame
|
|
1077
1104
|
|
|
1078
1105
|
this.createWebCodecsEncoders();
|
|
1079
1106
|
}
|
|
1080
1107
|
|
|
1081
1108
|
async flushAndClose(forceClose: boolean) {
|
|
1109
|
+
await this.ensureEncoderPromise?.catch(() => {});
|
|
1110
|
+
|
|
1082
1111
|
try {
|
|
1083
1112
|
if (!forceClose) {
|
|
1084
1113
|
this.checkForEncoderError();
|
|
1085
1114
|
|
|
1086
|
-
//
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1115
|
+
// The adds still in flight come first. Then comes the final frame rate padding, filling the remaining
|
|
1116
|
+
// frames up to the last sample's original end timestamp.
|
|
1117
|
+
const release = await this.addMutex.acquire();
|
|
1118
|
+
try {
|
|
1119
|
+
if (this.frameRateLastSample) {
|
|
1120
|
+
const frameRate = this.encodingConfig.transform!.frameRate!;
|
|
1121
|
+
const alignedEnd = floorToDivisor(this.frameRateLastEndTimestamp!, frameRate);
|
|
1122
|
+
await this.padFrameRate(alignedEnd);
|
|
1123
|
+
}
|
|
1124
|
+
} finally {
|
|
1125
|
+
release();
|
|
1091
1126
|
}
|
|
1092
1127
|
}
|
|
1093
1128
|
|
|
@@ -1095,7 +1130,8 @@ class VideoEncoderWrapper {
|
|
|
1095
1130
|
|
|
1096
1131
|
if (!forceClose) {
|
|
1097
1132
|
if (this.customEncoder) {
|
|
1098
|
-
void this.customEncoderCallSerializer.call(() => this.customEncoder!.flush())
|
|
1133
|
+
void this.customEncoderCallSerializer.call(() => this.customEncoder!.flush())
|
|
1134
|
+
.catch((error: unknown) => this.setError(error));
|
|
1099
1135
|
} else if (this.encoder && !this.encodersReclaimed) {
|
|
1100
1136
|
// These are wired in series, therefore they must also be flushed in series
|
|
1101
1137
|
await this.encoder.flush();
|
|
@@ -1133,17 +1169,20 @@ class VideoEncoderWrapper {
|
|
|
1133
1169
|
}
|
|
1134
1170
|
|
|
1135
1171
|
if (!forceClose) {
|
|
1172
|
+
// Packets emitted during the flush may still be on their way into the muxer, which can fail
|
|
1173
|
+
await this.lastMuxerPromise;
|
|
1136
1174
|
this.checkForEncoderError();
|
|
1137
1175
|
}
|
|
1138
1176
|
}
|
|
1139
1177
|
|
|
1140
1178
|
getQueueSize() {
|
|
1179
|
+
// Adds waiting for the add mutex are queued up for encoding just the same
|
|
1141
1180
|
if (this.customEncoder) {
|
|
1142
|
-
return this.customEncoderQueueSize;
|
|
1181
|
+
return this.addMutex.pending + this.customEncoderQueueSize;
|
|
1143
1182
|
} else {
|
|
1144
1183
|
// Because the color and alpha encoders are wired in series, there's no need to also include the alpha
|
|
1145
1184
|
// encoder's queue size here
|
|
1146
|
-
return this.encoder?.encodeQueueSize ?? 0;
|
|
1185
|
+
return this.addMutex.pending + (this.encoder?.encodeQueueSize ?? 0);
|
|
1147
1186
|
}
|
|
1148
1187
|
}
|
|
1149
1188
|
|
|
@@ -1434,6 +1473,7 @@ const colorAlphaSplitterWorkerCode = () => {
|
|
|
1434
1473
|
codedHeight: height,
|
|
1435
1474
|
timestamp: sourceFrame.timestamp,
|
|
1436
1475
|
duration: sourceFrame.duration ?? undefined,
|
|
1476
|
+
colorSpace: sourceFrame.colorSpace,
|
|
1437
1477
|
});
|
|
1438
1478
|
const alphaInit = {
|
|
1439
1479
|
format: alphaFormat,
|
|
@@ -1486,6 +1526,8 @@ export class VideoSampleSource extends VideoSource {
|
|
|
1486
1526
|
throw new TypeError('videoSample must be a VideoSample.');
|
|
1487
1527
|
}
|
|
1488
1528
|
|
|
1529
|
+
this._ensureValidAdd();
|
|
1530
|
+
|
|
1489
1531
|
return this._encoder.add(videoSample, false, encodeOptions);
|
|
1490
1532
|
}
|
|
1491
1533
|
|
|
@@ -1542,6 +1584,8 @@ export class CanvasSource extends VideoSource {
|
|
|
1542
1584
|
throw new TypeError('duration must be a non-negative number.');
|
|
1543
1585
|
}
|
|
1544
1586
|
|
|
1587
|
+
this._ensureValidAdd();
|
|
1588
|
+
|
|
1545
1589
|
const sample = new VideoSample(this._canvas, { timestamp, duration });
|
|
1546
1590
|
return this._encoder.add(sample, true, encodeOptions);
|
|
1547
1591
|
}
|
|
@@ -1645,8 +1689,8 @@ export class MediaStreamVideoTrackSource extends VideoSource {
|
|
|
1645
1689
|
if (typeof options !== 'object' || !options) {
|
|
1646
1690
|
throw new TypeError('options must be an object.');
|
|
1647
1691
|
}
|
|
1648
|
-
if (options.frameRate != null && (
|
|
1649
|
-
throw new TypeError('options.frameRate, when provided, must be either a positive number or null.');
|
|
1692
|
+
if (options.frameRate != null && (!Number.isFinite(options.frameRate) || options.frameRate <= 0)) {
|
|
1693
|
+
throw new TypeError('options.frameRate, when provided, must be either a finite positive number or null.');
|
|
1650
1694
|
}
|
|
1651
1695
|
if (
|
|
1652
1696
|
options.timestampBase !== undefined
|
|
@@ -1687,6 +1731,7 @@ export class MediaStreamVideoTrackSource extends VideoSource {
|
|
|
1687
1731
|
this._abortController = new AbortController();
|
|
1688
1732
|
|
|
1689
1733
|
let firstVideoFrameTimestamp: number | null = null;
|
|
1734
|
+
let firstReceivedFrameTimestamp: number | null = null; // Also set when the frame is dropped due to a pause
|
|
1690
1735
|
let lastFrameTime: number | null = null;
|
|
1691
1736
|
let frameCount = 0;
|
|
1692
1737
|
let errored = false;
|
|
@@ -1701,7 +1746,7 @@ export class MediaStreamVideoTrackSource extends VideoSource {
|
|
|
1701
1746
|
}
|
|
1702
1747
|
|
|
1703
1748
|
assert(lastFrameTime !== null);
|
|
1704
|
-
assert(
|
|
1749
|
+
assert(firstReceivedFrameTimestamp !== null);
|
|
1705
1750
|
|
|
1706
1751
|
const now = performance.now();
|
|
1707
1752
|
|
|
@@ -1709,7 +1754,7 @@ export class MediaStreamVideoTrackSource extends VideoSource {
|
|
|
1709
1754
|
// > instead of >= intentionally because tick() is called before the _lastVideoFrame is changed
|
|
1710
1755
|
while (now - lastFrameTime > 1000 / frameRate) {
|
|
1711
1756
|
lastFrameTime += 1000 / frameRate;
|
|
1712
|
-
const timestamp =
|
|
1757
|
+
const timestamp = firstReceivedFrameTimestamp + frameCount / frameRate;
|
|
1713
1758
|
|
|
1714
1759
|
const frame = new VideoFrame(this._videoElement ?? this._lastVideoFrame, {
|
|
1715
1760
|
timestamp: 1e6 * timestamp,
|
|
@@ -1725,12 +1770,18 @@ export class MediaStreamVideoTrackSource extends VideoSource {
|
|
|
1725
1770
|
}
|
|
1726
1771
|
|
|
1727
1772
|
const onVideoFrame = (videoFrame: VideoFrame) => {
|
|
1773
|
+
if (this._closingPromise) {
|
|
1774
|
+
videoFrame.close();
|
|
1775
|
+
return;
|
|
1776
|
+
}
|
|
1777
|
+
|
|
1728
1778
|
if (frameRate === null) {
|
|
1729
1779
|
addVideoFrame(videoFrame);
|
|
1730
1780
|
} else {
|
|
1731
1781
|
const now = performance.now();
|
|
1732
1782
|
|
|
1733
1783
|
if (!this._lastVideoFrame) {
|
|
1784
|
+
firstReceivedFrameTimestamp = videoFrame.timestamp / 1e6;
|
|
1734
1785
|
addVideoFrame(videoFrame.clone(), now);
|
|
1735
1786
|
lastFrameTime = now;
|
|
1736
1787
|
this._lastVideoFrame = videoFrame;
|
|
@@ -1743,7 +1794,7 @@ export class MediaStreamVideoTrackSource extends VideoSource {
|
|
|
1743
1794
|
};
|
|
1744
1795
|
|
|
1745
1796
|
const addVideoFrame = (videoFrame: VideoFrame, now = performance.now()) => {
|
|
1746
|
-
if (errored) {
|
|
1797
|
+
if (errored || this._closingPromise || this._connectedTrack!.output.state !== 'started') {
|
|
1747
1798
|
videoFrame.close();
|
|
1748
1799
|
return;
|
|
1749
1800
|
}
|
|
@@ -1839,11 +1890,13 @@ export class MediaStreamVideoTrackSource extends VideoSource {
|
|
|
1839
1890
|
if (supportedInWorker) {
|
|
1840
1891
|
this._workerTrackId = nextMediaStreamTrackProcessorWorkerId++;
|
|
1841
1892
|
|
|
1893
|
+
// Tracks can't be copied, only transferred, but transferring naively would kill the user's own track
|
|
1894
|
+
const track = this._track.clone();
|
|
1842
1895
|
sendMessageToMediaStreamTrackProcessorWorker({
|
|
1843
1896
|
type: 'videoTrack',
|
|
1844
1897
|
trackId: this._workerTrackId,
|
|
1845
|
-
track
|
|
1846
|
-
});
|
|
1898
|
+
track,
|
|
1899
|
+
}, [track as unknown as Transferable]);
|
|
1847
1900
|
|
|
1848
1901
|
this._workerListener = (event: MessageEvent) => {
|
|
1849
1902
|
const message = event.data as MediaStreamTrackProcessorWorkerMessage;
|
|
@@ -2030,6 +2083,7 @@ class AudioEncoderWrapper {
|
|
|
2030
2083
|
private muxer: Muxer | null = null;
|
|
2031
2084
|
private lastNumberOfChannels: number | null = null;
|
|
2032
2085
|
private lastSampleRate: number | null = null;
|
|
2086
|
+
private addMutex = new AsyncMutex();
|
|
2033
2087
|
|
|
2034
2088
|
private isPcmEncoder = false;
|
|
2035
2089
|
private outputSampleSize: number | null = null;
|
|
@@ -2070,9 +2124,15 @@ class AudioEncoderWrapper {
|
|
|
2070
2124
|
constructor(private source: AudioSource, private encodingConfig: AudioEncodingConfig) {}
|
|
2071
2125
|
|
|
2072
2126
|
async add(audioSample: AudioSample, shouldClose: boolean) {
|
|
2127
|
+
let release: (() => void) | null = null;
|
|
2128
|
+
|
|
2073
2129
|
try {
|
|
2074
2130
|
this.checkForEncoderError();
|
|
2075
|
-
|
|
2131
|
+
|
|
2132
|
+
release = await this.addMutex.acquire();
|
|
2133
|
+
if (this.closed) {
|
|
2134
|
+
return; // Canceled while waiting
|
|
2135
|
+
}
|
|
2076
2136
|
|
|
2077
2137
|
// Ensure audio parameters remain constant
|
|
2078
2138
|
if (this.lastNumberOfChannels !== null && this.lastSampleRate !== null) {
|
|
@@ -2114,6 +2174,8 @@ class AudioEncoderWrapper {
|
|
|
2114
2174
|
await this.processAndEncode(audioSample, shouldClose);
|
|
2115
2175
|
}
|
|
2116
2176
|
} finally {
|
|
2177
|
+
release?.();
|
|
2178
|
+
|
|
2117
2179
|
if (shouldClose) {
|
|
2118
2180
|
audioSample.close();
|
|
2119
2181
|
}
|
|
@@ -2167,13 +2229,13 @@ class AudioEncoderWrapper {
|
|
|
2167
2229
|
}
|
|
2168
2230
|
|
|
2169
2231
|
for (const sample of processed) {
|
|
2170
|
-
await this.encodeSample(sample,
|
|
2232
|
+
await this.encodeSample(sample, sample !== audioSample);
|
|
2171
2233
|
}
|
|
2172
2234
|
} finally {
|
|
2173
2235
|
// encodeSample closes the samples it was passed; this additionally covers the samples never
|
|
2174
2236
|
// reached because an earlier one threw (closing is idempotent)
|
|
2175
2237
|
for (const sample of processed) {
|
|
2176
|
-
if (sample instanceof AudioSample) {
|
|
2238
|
+
if (sample instanceof AudioSample && sample !== audioSample) {
|
|
2177
2239
|
sample.close();
|
|
2178
2240
|
}
|
|
2179
2241
|
}
|
|
@@ -2193,6 +2255,11 @@ class AudioEncoderWrapper {
|
|
|
2193
2255
|
*/
|
|
2194
2256
|
private async encodeSample(audioSample: AudioSample, shouldClose: boolean) {
|
|
2195
2257
|
try {
|
|
2258
|
+
if (audioSample.numberOfFrames === 0) {
|
|
2259
|
+
// Nothing to encode
|
|
2260
|
+
return;
|
|
2261
|
+
}
|
|
2262
|
+
|
|
2196
2263
|
if (!this.encoderInitialized) {
|
|
2197
2264
|
if (!this.ensureEncoderPromise) {
|
|
2198
2265
|
this.ensureEncoder(audioSample);
|
|
@@ -2231,23 +2298,30 @@ class AudioEncoderWrapper {
|
|
|
2231
2298
|
const sampleDiff = startSampleIndex - this.lastEndSampleIndex;
|
|
2232
2299
|
|
|
2233
2300
|
if (sampleDiff >= 64) {
|
|
2234
|
-
// The gap is big enough, let's add a
|
|
2235
|
-
|
|
2236
|
-
const
|
|
2301
|
+
// The gap is big enough, let's add correction samples, at most a second each so long gaps
|
|
2302
|
+
// don't need huge allocations
|
|
2303
|
+
const bytesPerFrame = getBytesPerSample(audioSample.format) * audioSample.numberOfChannels;
|
|
2304
|
+
const silence = new Uint8Array(bytesPerFrame * Math.min(sampleDiff, audioSample.sampleRate));
|
|
2237
2305
|
if (audioSample.format === 'u8' || audioSample.format === 'u8-planar') {
|
|
2238
|
-
|
|
2306
|
+
silence.fill(2 ** 7); // Fill it with the silent value
|
|
2239
2307
|
}
|
|
2240
2308
|
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
|
|
2309
|
+
let remainingFrames = sampleDiff;
|
|
2310
|
+
while (remainingFrames > 0) {
|
|
2311
|
+
const frameCount = Math.min(remainingFrames, audioSample.sampleRate);
|
|
2312
|
+
const fillSample = new AudioSample({
|
|
2313
|
+
data: silence.subarray(0, bytesPerFrame * frameCount),
|
|
2314
|
+
_doNotCopy: true,
|
|
2315
|
+
format: audioSample.format,
|
|
2316
|
+
sampleRate: audioSample.sampleRate,
|
|
2317
|
+
numberOfChannels: audioSample.numberOfChannels,
|
|
2318
|
+
numberOfFrames: frameCount,
|
|
2319
|
+
timestamp: this.lastEndSampleIndex / audioSample.sampleRate,
|
|
2320
|
+
});
|
|
2249
2321
|
|
|
2250
|
-
|
|
2322
|
+
await this.encodeSample(fillSample, true); // Recursive call, advances lastEndSampleIndex
|
|
2323
|
+
remainingFrames -= frameCount;
|
|
2324
|
+
}
|
|
2251
2325
|
}
|
|
2252
2326
|
|
|
2253
2327
|
this.lastEndSampleIndex += audioSample.numberOfFrames;
|
|
@@ -2279,9 +2353,16 @@ class AudioEncoderWrapper {
|
|
|
2279
2353
|
await this.doPcmEncoding(audioSample, shouldClose);
|
|
2280
2354
|
} else {
|
|
2281
2355
|
assert(this.encoder);
|
|
2356
|
+
|
|
2357
|
+
// The encoder may have errored in the meantime
|
|
2358
|
+
this.checkForEncoderError();
|
|
2359
|
+
|
|
2282
2360
|
const audioData = audioSample.toAudioData();
|
|
2283
|
-
|
|
2284
|
-
|
|
2361
|
+
try {
|
|
2362
|
+
this.encoder.encode(audioData);
|
|
2363
|
+
} finally {
|
|
2364
|
+
audioData.close();
|
|
2365
|
+
}
|
|
2285
2366
|
|
|
2286
2367
|
if (shouldClose) {
|
|
2287
2368
|
audioSample.close();
|
|
@@ -2475,43 +2556,50 @@ class AudioEncoderWrapper {
|
|
|
2475
2556
|
const stack = new Error('Encoding error').stack;
|
|
2476
2557
|
this.encoder = new AudioEncoder({
|
|
2477
2558
|
output: (chunk, meta) => {
|
|
2478
|
-
|
|
2479
|
-
|
|
2480
|
-
|
|
2481
|
-
|
|
2482
|
-
|
|
2483
|
-
|
|
2484
|
-
|
|
2559
|
+
try {
|
|
2560
|
+
if (meta?.decoderConfig) {
|
|
2561
|
+
fixAudioDecoderConfig(this.encodingConfig.codec, encoderConfig, meta.decoderConfig);
|
|
2562
|
+
|
|
2563
|
+
// We want Opus packet timestamps to include the pre-skip
|
|
2564
|
+
if (this.encodingConfig.codec === 'opus' && meta.decoderConfig.description) {
|
|
2565
|
+
const description = toUint8Array(meta.decoderConfig.description);
|
|
2566
|
+
opusPreSkip = parseOpusIdentificationHeader(description).preSkip / OPUS_SAMPLE_RATE;
|
|
2567
|
+
}
|
|
2485
2568
|
}
|
|
2486
|
-
}
|
|
2487
2569
|
|
|
2488
|
-
|
|
2489
|
-
|
|
2490
|
-
|
|
2491
|
-
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
|
|
2495
|
-
|
|
2496
|
-
|
|
2497
|
-
|
|
2498
|
-
|
|
2499
|
-
|
|
2500
|
-
|
|
2570
|
+
let packet = EncodedPacket.fromEncodedChunk(chunk);
|
|
2571
|
+
|
|
2572
|
+
// Snap the timing information to the sample rate to recover information lost in
|
|
2573
|
+
// microsecond conversion
|
|
2574
|
+
packet = packet.clone({
|
|
2575
|
+
timestamp: roundToDivisor(
|
|
2576
|
+
packet.timestamp - primingShift - opusPreSkip,
|
|
2577
|
+
encoderConfig.sampleRate,
|
|
2578
|
+
),
|
|
2579
|
+
duration: chunk.duration != null
|
|
2580
|
+
? roundToDivisor(packet.duration, encoderConfig.sampleRate)
|
|
2581
|
+
: undefined,
|
|
2582
|
+
});
|
|
2501
2583
|
|
|
2502
|
-
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
|
|
2584
|
+
if (isFirefox()) {
|
|
2585
|
+
// For Firefox, we only need to offset the first timestamp
|
|
2586
|
+
opusPreSkip = 0;
|
|
2587
|
+
}
|
|
2506
2588
|
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
|
|
2589
|
+
this.encodingConfig.onEncodedPacket?.(packet, meta);
|
|
2590
|
+
this.lastMuxerPromise
|
|
2591
|
+
= this.muxer!.addEncodedAudioPacket(this.source._connectedTrack!, packet, meta)
|
|
2592
|
+
.catch((error) => {
|
|
2593
|
+
this.setError(error);
|
|
2594
|
+
});
|
|
2595
|
+
} catch (error) {
|
|
2596
|
+
this.setError(error);
|
|
2597
|
+
}
|
|
2513
2598
|
},
|
|
2514
2599
|
error: (error) => {
|
|
2600
|
+
// Unlike video, there's no reclaim handling here: Chromium never reclaims AudioEncoders
|
|
2601
|
+
// in practice
|
|
2602
|
+
|
|
2515
2603
|
error.stack = stack; // Provide a more useful stack trace
|
|
2516
2604
|
this.setError(error);
|
|
2517
2605
|
},
|
|
@@ -2528,6 +2616,7 @@ class AudioEncoderWrapper {
|
|
|
2528
2616
|
|
|
2529
2617
|
this.encoderInitialized = true;
|
|
2530
2618
|
})();
|
|
2619
|
+
this.ensureEncoderPromise.catch((error: unknown) => this.setError(error));
|
|
2531
2620
|
}
|
|
2532
2621
|
|
|
2533
2622
|
private initPcmEncoder() {
|
|
@@ -2633,17 +2722,26 @@ class AudioEncoderWrapper {
|
|
|
2633
2722
|
}
|
|
2634
2723
|
|
|
2635
2724
|
async flushAndClose(forceClose: boolean) {
|
|
2725
|
+
// An encoder that's still initializing can't be flushed or closed yet, so let it finish first
|
|
2726
|
+
await this.ensureEncoderPromise?.catch(() => {});
|
|
2727
|
+
|
|
2636
2728
|
try {
|
|
2637
2729
|
if (!forceClose) {
|
|
2638
2730
|
this.checkForEncoderError();
|
|
2639
2731
|
|
|
2640
|
-
//
|
|
2641
|
-
|
|
2642
|
-
|
|
2643
|
-
|
|
2732
|
+
// The adds still in flight come first
|
|
2733
|
+
const release = await this.addMutex.acquire();
|
|
2734
|
+
try {
|
|
2735
|
+
// Finalize the resampler to flush any buffered audio
|
|
2736
|
+
if (this.resampler) {
|
|
2737
|
+
await this.resampler.finalize();
|
|
2738
|
+
}
|
|
2644
2739
|
|
|
2645
|
-
|
|
2646
|
-
|
|
2740
|
+
if (this.pcmScratchFrames > 0) {
|
|
2741
|
+
await this.emitPcmScratchPacket();
|
|
2742
|
+
}
|
|
2743
|
+
} finally {
|
|
2744
|
+
release();
|
|
2647
2745
|
}
|
|
2648
2746
|
}
|
|
2649
2747
|
|
|
@@ -2651,7 +2749,8 @@ class AudioEncoderWrapper {
|
|
|
2651
2749
|
|
|
2652
2750
|
if (!forceClose) {
|
|
2653
2751
|
if (this.customEncoder) {
|
|
2654
|
-
void this.customEncoderCallSerializer.call(() => this.customEncoder!.flush())
|
|
2752
|
+
void this.customEncoderCallSerializer.call(() => this.customEncoder!.flush())
|
|
2753
|
+
.catch((error: unknown) => this.setError(error));
|
|
2655
2754
|
} else if (this.encoder) {
|
|
2656
2755
|
await this.encoder.flush();
|
|
2657
2756
|
}
|
|
@@ -2671,17 +2770,19 @@ class AudioEncoderWrapper {
|
|
|
2671
2770
|
}
|
|
2672
2771
|
|
|
2673
2772
|
if (!forceClose) {
|
|
2773
|
+
// Packets emitted by the flush may still be on their way into the muxer
|
|
2774
|
+
await this.lastMuxerPromise;
|
|
2674
2775
|
this.checkForEncoderError();
|
|
2675
2776
|
}
|
|
2676
2777
|
}
|
|
2677
2778
|
|
|
2678
2779
|
getQueueSize() {
|
|
2679
2780
|
if (this.customEncoder) {
|
|
2680
|
-
return this.customEncoderQueueSize;
|
|
2781
|
+
return this.addMutex.pending + this.customEncoderQueueSize;
|
|
2681
2782
|
} else if (this.isPcmEncoder) {
|
|
2682
|
-
return
|
|
2783
|
+
return this.addMutex.pending;
|
|
2683
2784
|
} else {
|
|
2684
|
-
return this.encoder?.encodeQueueSize ?? 0;
|
|
2785
|
+
return this.addMutex.pending + (this.encoder?.encodeQueueSize ?? 0);
|
|
2685
2786
|
}
|
|
2686
2787
|
}
|
|
2687
2788
|
|
|
@@ -2875,6 +2976,7 @@ const fixAudioDecoderConfig = (
|
|
|
2875
2976
|
objectType,
|
|
2876
2977
|
outputNumberOfChannels: decoderConfig.numberOfChannels,
|
|
2877
2978
|
outputSampleRate: decoderConfig.sampleRate,
|
|
2979
|
+
programConfigElement: null,
|
|
2878
2980
|
});
|
|
2879
2981
|
}
|
|
2880
2982
|
}
|
|
@@ -2912,6 +3014,8 @@ export class AudioSampleSource extends AudioSource {
|
|
|
2912
3014
|
throw new TypeError('audioSample must be an AudioSample.');
|
|
2913
3015
|
}
|
|
2914
3016
|
|
|
3017
|
+
this._ensureValidAdd();
|
|
3018
|
+
|
|
2915
3019
|
return this._encoder.add(audioSample, false);
|
|
2916
3020
|
}
|
|
2917
3021
|
|
|
@@ -2945,6 +3049,8 @@ export class AudioBufferSource extends AudioSource {
|
|
|
2945
3049
|
private _encoder: AudioEncoderWrapper;
|
|
2946
3050
|
/** @internal */
|
|
2947
3051
|
private _accumulatedTime: number;
|
|
3052
|
+
/** @internal */
|
|
3053
|
+
private _addMutex = new AsyncMutex();
|
|
2948
3054
|
|
|
2949
3055
|
/**
|
|
2950
3056
|
* Creates a new {@link AudioBufferSource} whose `AudioBuffer` instances are encoded according to the specified
|
|
@@ -2977,16 +3083,30 @@ export class AudioBufferSource extends AudioSource {
|
|
|
2977
3083
|
throw new TypeError('audioBuffer must be an AudioBuffer.');
|
|
2978
3084
|
}
|
|
2979
3085
|
|
|
3086
|
+
this._ensureValidAdd();
|
|
3087
|
+
|
|
2980
3088
|
const iterator = AudioSample._fromAudioBuffer(audioBuffer, this._accumulatedTime);
|
|
2981
3089
|
this._accumulatedTime += audioBuffer.duration;
|
|
2982
3090
|
|
|
2983
|
-
|
|
2984
|
-
|
|
3091
|
+
// The buffer goes in as several samples, so overlapping adds must not interleave theirs
|
|
3092
|
+
const release = await this._addMutex.acquire();
|
|
3093
|
+
try {
|
|
3094
|
+
for (const audioSample of iterator) {
|
|
3095
|
+
await this._encoder.add(audioSample, true);
|
|
3096
|
+
}
|
|
3097
|
+
} finally {
|
|
3098
|
+
release();
|
|
2985
3099
|
}
|
|
2986
3100
|
}
|
|
2987
3101
|
|
|
2988
3102
|
/** @internal */
|
|
2989
|
-
override _flushAndClose(forceClose: boolean) {
|
|
3103
|
+
override async _flushAndClose(forceClose: boolean) {
|
|
3104
|
+
if (!forceClose) {
|
|
3105
|
+
// Buffers added before closing still belong in the file
|
|
3106
|
+
const release = await this._addMutex.acquire();
|
|
3107
|
+
release();
|
|
3108
|
+
}
|
|
3109
|
+
|
|
2990
3110
|
return this._encoder.flushAndClose(forceClose);
|
|
2991
3111
|
}
|
|
2992
3112
|
}
|
|
@@ -3105,7 +3225,7 @@ export class MediaStreamAudioTrackSource extends AudioSource {
|
|
|
3105
3225
|
let timestampOffset = 0;
|
|
3106
3226
|
|
|
3107
3227
|
const onAudioSample = (audioSample: AudioSample) => {
|
|
3108
|
-
if (errored) {
|
|
3228
|
+
if (errored || this._closingPromise || this._connectedTrack!.output.state !== 'started') {
|
|
3109
3229
|
audioSample.close();
|
|
3110
3230
|
return;
|
|
3111
3231
|
}
|
|
@@ -3167,7 +3287,9 @@ export class MediaStreamAudioTrackSource extends AudioSource {
|
|
|
3167
3287
|
|
|
3168
3288
|
this._abortController?.abort();
|
|
3169
3289
|
this._promiseWithResolvers.reject(error);
|
|
3170
|
-
|
|
3290
|
+
if (this._audioContext && this._audioContext.state !== 'closed') {
|
|
3291
|
+
void this._audioContext.suspend();
|
|
3292
|
+
}
|
|
3171
3293
|
});
|
|
3172
3294
|
};
|
|
3173
3295
|
|
|
@@ -3245,7 +3367,7 @@ export class MediaStreamAudioTrackSource extends AudioSource {
|
|
|
3245
3367
|
assert(this._scriptProcessorNode);
|
|
3246
3368
|
|
|
3247
3369
|
this._scriptProcessorNode.disconnect();
|
|
3248
|
-
await this._audioContext.
|
|
3370
|
+
await this._audioContext.close();
|
|
3249
3371
|
}
|
|
3250
3372
|
} finally {
|
|
3251
3373
|
// The encoder must be closed even if the track teardown above threw
|