chore: sync mmcc/moq to videojs/video.js main

MM
24d ago
+88028-40372

Summary

Syncs mmcc/moq to videojs/video.js main (905a6d1cd). v10 moved into that repo after GA, and the fork's upstream remote now points there. Merge only: land by fast-forward push, never squash or rebase.

Upstream reorganized SPF (#9391, #9392, #9395), so the MoQ engine needed porting:

  • shareSignals/onSignalsReady removed upstream. The MoQ engine now declares its user*TrackSelection slots with defineExternalSignals. The adapter and tests read engine.state/engine.context directly, and MoqEngineSignals is gone.
  • Single playback/engines tsconfig project. It now covers engines/moq, so the standalone engines/moq/tsconfig.json is deleted.
  • Exports. ./moq sits beside upstream's new adapters/* paths. measure-size.js follows upstream's removal.
  • Imports. MoQ behaviors import defineBehavior from define-behavior.
  • Kept both sides in track-switching.ts (confineToActiveSwitchingSet and upstream's preferAudioPolicy) and in hls-video media-tracks.ts.
  • Refreshed 2026-10-28. Merged the latest mmcc/moq (#72, #75, #77: @caprid/moq-core/moq-media) and six new upstream commits (SoundCloud adapter, hls.js 1.7.3). Conflicts: spf package.json deps and defineBehavior imports kept both sides, and the SSR-safety test keeps both the simple-moq-video and soundcloud-audio cases.
  • Stability tag. SimpleMoqVideoElement is tagged @internal, as upstream's new API-stability check requires.

Testing

  • pnpm build:packages and pnpm typecheck pass.
  • pnpm lint passes. @videojs/spf: 2343 pass, 1 skipped (fewer than before because #75 moved the transport code and its tests to @caprid/moq-core). @videojs/html: 497 pass. @videojs/installation: 312 pass.
  • pnpm check:workspace and pnpm -F site check:api-stability pass.
  • Not re-verified live against a relay.

šŸ¤– Generated with Claude Code

https://claude.ai/code/session_01DaH4iixnBQbNchnez2h4ZG


Summary by cubic

Syncs the mmcc/moq fork to videojs/video.js main (current main head). Upstream reorganized SPF (#9391, #9392, #9395), so the MoQ engine was ported to the new structure: shareSignals/onSignalsReady are replaced by defineExternalSignals track-selection slots, and the standalone engines/moq tsconfig and measure-size.js are removed.

Merge note

  • Land by fast-forward push only; never squash or rebase.
  • SimpleMoqVideoElement is tagged @internal for the upstream API-stability check.
  • The MoQ path has not been re-verified live against a relay.
  • Everything else is upstream main content, including the full CHANGELOG.md, the minimal-to-neutral skin rename, and the new compat/scaffold skins.