Skip to content

feat(spf): publish through @caprid/moq-core's publish session - #78

Merged
mmcc merged 3 commits into
mmcc/moq-publisherfrom
feat/moq-publisher-caprid-core
Oct 28, 2026
Merged

mmcc merged 3 commits into
mmcc/moq-publisherfrom
feat/moq-publisher-caprid-core

Conversation

@mmcc

@mmcc mmcc commented Oct 28, 2026 •

Copy link
Copy Markdown
Owner

Summary

The publisher now drives @caprid/moq-core's publish session (createMoqtPublishSession, 0.1.1) instead of v10's own session. That session ran over a draft-20 copy of network/moqt, kept on this branch only so the #75 sync would build. The publisher now speaks moqt-22 with a moqt-20 fallback, like the player, and packages/spf/src/network/moqt/ is gone, tests included.

Changes

  • publish/session/publish-session.ts keeps only the session actor; the protocol driver is the package's. The default connect offers MOQT_PROTOCOL_IDS (moqt-22, moqt-20) when the browser's WebTransport exposes protocol, the same rule as the player's moq-session.ts. The real transport, including its protocol, goes to the session unchanged.

  • track-publisher.ts opens each group's stream with openUniStream(trackAlias) for the alias bound when the group started. The session now counts each subscription's data streams for PUBLISH_DONE, so the publisher's per-alias streamCount and setup-track-publishers.ts's getStreamCount wiring are removed.

  • setup-track-publishers.ts passes the microsecond TIMESCALE as an explicit trackProperties entry, since the package imposes none. It imports CLOSE_FLUSH_TIMEOUT_MS, RegisteredTrack and TRACK_PROPERTY from the package.

  • Test helpers: raw-peer.ts and transport-pair.ts move to network/tests/helpers/, beside moqt-wire.ts. moqt-wire.ts now also re-exports the package's relay-side SUBSCRIBE_NAMESPACE/SUBSCRIBE/GOAWAY encoders, deframer, object-stream readers and varint codec. The relay hub's publisher side uses them, so the whole hub speaks moqt-22. A new withServerRequestIds wrapper gives a subscribe session standing in for the relay odd Request IDs. The package's publish session closes on a peer request with the client's (even) parity (§6.4.2.1); the wrapper offsets each request's ID by an odd constant and re-frames the message.

  • Tests: dropped v10's driver and codec tests, which the package now owns and tests: network/moqt/tests/* and the createMoqtPublishSession block of publish-session.test.ts. Kept and adapted the actor, behavior, engine, relay-hub and cross-engine tests. Added three tests:

    • The default connect offers ['moqt-22', 'moqt-20'].
    • Every registered track declares TIMESCALE in SUBSCRIBE_OK.
    • Each group's stream is opened for its bound alias.

    The catalog + LOC end-to-end test now runs through the session actor.

  • Prose: the spec README's "Implemented in" row, the publish engine doc, the cross-engine and relay-hub notes, the publish design notes (moq-publish.md, clusters.md) and the migration plan now name the package. The publisher sandbox's loopback relay cited draft-20 sections. Its one Location Filter (relative start, StartGroup 1) encodes the same bytes on draft-22, so it now uses draft-22 numbering, as the player's loopback already does. No skill under .agents/skills/ cited the deleted modules.

v10-side wrappers kept

  • createPublishSessionActor: the reactive snapshot the behaviors consume (status, subscriber count, track bindings), plus the connect (?jwt= URL, protocol offer, implementation name @videojs/spf moqt publisher).
  • addTrackPublisher's openUniStream closure, which adds the per-track sendOrder (-1 - priority).
  • endTrack and endCatalogTrack, which flush the publisher's last groups within CLOSE_FLUSH_TIMEOUT_MS / 2 before handle.end({ after }).

PUBLISH_DONE "unknown stream count"

v10 doesn't need it. Every track setupTrackPublishers registers reported an exact count, so the unknown encoding was only reachable from tests that registered tracks without getStreamCount. The package counts every data stream itself.

Verification

  • pnpm -F @videojs/spf test: 163 files, 2557 tests pass (11 skipped), including the publish-engines Chromium project; no type errors.

  • pnpm build:packages, pnpm typecheck (stale packages/*/types and nested tsbuildinfo deleted first), and pnpm lint: all pass.

  • Bundle size (esbuild bundle of dist/default, minify + brotli):

    Entry Before After
    /moq 33,694 B 33,694 B
    /moq-publish 22,281 B 23,726 B (+1,445)
    /moq-publish-video 23,531 B 24,996 B (+1,465)

    The growth is the package's session: the dual-version codec, the close end-ack wait and fill handling on REQUEST_UPDATE.

  • Live against relay.mux.global (token root huddle/videojs-testing): headless Chromium ran the v10 publish engine (canvas camera + oscillator mic, default H.264 + Opus), the v10 MoQ player, and a raw @caprid/moq-core viewer.

    • All three sessions offered ["moqt-22","moqt-20"] and negotiated moqt-22.
    • The relay's SUBSCRIBE_OK carried our TIMESCALE ({8: 1000000}).
    • Player: first video frame decoded after 732 ms and first audio scheduled after 106 ms. Over 15 s it decoded 429 frames with 0 dropped, scheduled 733 audio frames with 0 underruns, and its audio clock advanced 9,926 ms over 10,030 ms of wall time.
    • Publisher stats: 0 dropped frames, 0 dropped groups.
    • On unpublish() the raw viewer got PUBLISH_DONE status 2 "track ended" for all three tracks within 8 ms, with Stream Counts audio 753, video 16 and catalog 3.
  • codex review --base origin/mmcc/moq-publisher: no actionable findings. It also ran an in-memory round trip through the publisher sandbox's loopback relay with the package's sessions.

Upstream follow-ups (@caprid/moq-core)

  • Relay-side codecs: the package exports no relay-side codec (server SETUP, SUBSCRIBE_NAMESPACE/SUBSCRIBE encoders, SUBSCRIBE_OK/PUBLISH_DONE encoders, object-stream readers). v10's fake relays deep-import dist/protocol/* through moqt-wire.ts. A test-support entry point would remove that.
  • Request-ID parity in tests: the subscribe driver can't be told to allocate server-parity Request IDs, so loopback tests need the withServerRequestIds byte rewrite. Upstream's tests use a similar transport wrapper. A config option such as requestIdParity: 'server' would serve both.

🤖 Generated with Claude Code

https://claude.ai/code/session_01DaH4ifX9Vb6HuB2yg6TMt5


Summary by cubic

Replaces the publisher's local draft-20 MOQT driver with @caprid/moq-core's publish session, so the publisher now speaks moqt-22 with moqt-20 fallback, matching the player. Deletes packages/spf/src/network/moqt/ and its tests.

  • publish-session.ts keeps only the session actor; the protocol driver, version negotiation, and PUBLISH_DONE counting come from the package.
  • Track publishers open each group's stream for the alias bound at group start; the per-alias streamCount and getStreamCount wiring are removed.
  • setupTrackPublishers declares the microsecond TIMESCALE explicitly in trackProperties.
  • Test relays now use the package's relay-side codecs through moqt-wire; a new withServerRequestIds wrapper compensates for the package's client-parity-only request IDs in loopback tests.
  • Docs and design notes repointed at the package and draft-22, dropping stale draft-19 references from the publish feature record.

Written for commit ed92cbf. Summary will update on new commits.

View guided diff Turn on auto-fix

mmcc added 2 commits October 28, 2026 05:02
The publisher drove v10's own publish session over a draft-20 copy of
network/moqt, kept only so the mmcc/moq sync would build. It now drives
createMoqtPublishSession from @caprid/moq-core, the package extracted
from that session, and speaks moqt-22 with a moqt-20 fallback like the
player.

- publish-session.ts keeps only the session actor. The default connect
  offers MOQT_PROTOCOL_IDS when WebTransport exposes `protocol`, so the
  session reads the negotiated version.
- Track publishers open each group's stream for the alias bound when the
  group started (`openUniStream(trackAlias)`). The session counts each
  subscription's streams for PUBLISH_DONE, so the publisher's own
  per-alias count and the getStreamCount wiring are gone.
- setupTrackPublishers declares the microsecond TIMESCALE track property
  explicitly; the package's session imposes none.
- network/moqt is deleted with its tests. raw-peer and transport-pair
  move beside moqt-wire, which now re-exports the package's relay-side
  codecs for the relay hub and the raw peers. withServerRequestIds gives
  a subscribe session standing in for the relay odd request IDs, which
  the package's publish session requires (§6.4.2.1).

Claude-Session: https://claude.ai/code/session_01DaH4ifX9Vb6HuB2yg6TMt5
The spec README, the publish design notes and the migration plan named
the deleted network/moqt modules or said the publisher still ran its own
codec. The publisher sandbox's loopback relay cited draft-20 sections;
its one Location Filter (relative start, StartGroup 1) encodes the same
bytes on draft-22, so it now says so and uses draft-22 numbering, as the
player's loopback already does.

Claude-Session: https://claude.ai/code/session_01DaH4ifX9Vb6HuB2yg6TMt5
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-28T05:08:33.113712Z 259385a PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

3 issues found across 40 files

Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name=".agents/plans/moq-transport-20-migration.md">

<violation number="1" location=".agents/plans/moq-transport-20-migration.md:27">
P2: This completed migration plan remains under `.agents/plans/` even though repository guidance requires temporary plans to be deleted before merge. Remove the file instead of retaining this now-stale implementation log.</violation>
</file>

<file name="packages/spf/src/network/tests/helpers/transport-pair.ts">

<violation number="1" location="packages/spf/src/network/tests/helpers/transport-pair.ts:52">
P2: Closing this pair settles `closed` but leaves incoming stream readers and active data/request pipes open. Readers parked on either incoming queue can wait forever after transport shutdown; close the queue controllers and terminate active pipes in `closeBoth`.</violation>
</file>

<file name="internal/design/spf/features/moq-publish.md">

<violation number="1" location="internal/design/spf/features/moq-publish.md:158">
P2: This feature record still says the publisher speaks draft-19 in its overview and Transport row. Update those references to the package-backed draft-22/moqt-20 fallback so the record matches the implementation.</violation>
</file>

Reply with feedback, questions, or to request a fix.

View guided diff | Turn on auto-fix | Re-trigger cubic

runs the local codec until its own move.
carries draft-22. Section numbers below are draft-20's. The publisher moved
onto the package's publish session on `feat/moq-publisher-caprid-core`
(2026-10-28), so no local codec remains on either branch.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2: This completed migration plan remains under .agents/plans/ even though repository guidance requires temporary plans to be deleted before merge. Remove the file instead of retaining this now-stale implementation log.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At .agents/plans/moq-transport-20-migration.md, line 27:

<comment>This completed migration plan remains under `.agents/plans/` even though repository guidance requires temporary plans to be deleted before merge. Remove the file instead of retaining this now-stale implementation log.</comment>

<file context>
@@ -22,8 +22,9 @@ Temporary implementation notes — delete before merge per `AGENTS.md`.
-runs the local codec until its own move.
+carries draft-22. Section numbers below are draft-20's. The publisher moved
+onto the package's publish session on `feat/moq-publisher-caprid-core`
+(2026-10-28), so no local codec remains on either branch.
 
 **Issue #45 verification (2026-09-16, moq-relay 0.14.17):** the shared codec
</file context>

const closeBoth = (info?: { closeCode?: number; reason?: string }): void => {
if (closed) return;

closed = true;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2: Closing this pair settles closed but leaves incoming stream readers and active data/request pipes open. Readers parked on either incoming queue can wait forever after transport shutdown; close the queue controllers and terminate active pipes in closeBoth.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At packages/spf/src/network/tests/helpers/transport-pair.ts, line 52:

<comment>Closing this pair settles `closed` but leaves incoming stream readers and active data/request pipes open. Readers parked on either incoming queue can wait forever after transport shutdown; close the queue controllers and terminate active pipes in `closeBoth`.</comment>

<file context>
@@ -0,0 +1,162 @@
+  const closeBoth = (info?: { closeCode?: number; reason?: string }): void => {
+    if (closed) return;
+
+    closed = true;
+    a.resolveClosed?.(info);
+    b.resolveClosed?.(info);
</file context>

@github-actions

github-actions Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

📦 Bundle Size Report

🎨 @videojs/html

Path Base initial PR initial Initial diff Lazy diff
/media/moq-publish-video 25.35 kB 26.77 kB +1.42 kB (+5.6%) —
Presets (7)
Entry Initial Lazy
/video (default) 65.38 kB 67.46 kB
/video (default + hls) 67.10 kB 67.46 kB
/video (minimal) 65.87 kB 67.46 kB
/video (minimal + hls) 67.69 kB 67.46 kB
/audio (default) 49.09 kB 67.46 kB
/audio (minimal) 49.29 kB 67.46 kB
/background 12.62 kB 67.46 kB
Media (20)
Entry Initial
/media/mux-video 3.02 kB
/media/mux-audio 2.68 kB
/media/background-video 1.16 kB
/media/cloudflare-video 2.90 kB
/media/dash-video 2.63 kB
/media/hls-audio 23.58 kB
/media/hls-background-video 17.44 kB
/media/hls-video 33.87 kB
/media/hlsjs-video 2.63 kB
/media/moq-publish-video 26.77 kB
/media/mux-background-video 17.42 kB
/media/native-hls-video 7.68 kB
/media/shaka-video 2.63 kB
/media/simple-moq-video 34.38 kB
/media/spotify-audio 3.02 kB
/media/tiktok-video 3.12 kB
/media/twitch-video 2.93 kB
/media/vimeo-video 2.90 kB
/media/wistia-video 607 B
/media/youtube-video 2.90 kB
Players (6)
Entry Initial Lazy
/video/player 9.97 kB 67.46 kB
/audio/player 6.14 kB 67.46 kB
/background/player 4.46 kB 67.46 kB
/live-video/player 9.34 kB 67.46 kB
/live-audio/player 6.16 kB 67.46 kB
/publisher/player 6.97 kB 67.46 kB
Skins (32)
Entry Type Initial Lazy
/video/minimal-skin.css css 8.29 kB —
/video/skin.css css 8.01 kB —
/video/minimal-skin js 64.30 kB 67.46 kB
/video/minimal-skin2 js 8.28 kB —
/video/skin js 63.98 kB 67.46 kB
/video/skin2 js 7.99 kB —
/audio/minimal-skin.css css 6.07 kB —
/audio/skin.css css 5.80 kB —
/audio/minimal-skin js 47.86 kB 67.46 kB
/audio/minimal-skin2 js 6.05 kB —
/audio/skin js 47.52 kB 67.46 kB
/audio/skin2 js 5.78 kB —
/background/skin.css css 141 B —
/background/skin js 10.88 kB 67.46 kB
/background/skin2 js 159 B —
/live-video/minimal-skin.css css 6.78 kB —
/live-video/skin.css css 6.69 kB —
/live-video/minimal-skin js 51.64 kB 67.46 kB
/live-video/minimal-skin2 js 6.78 kB —
/live-video/skin js 51.56 kB 67.46 kB
/live-video/skin2 js 6.68 kB —
/live-audio/minimal-skin.css css 4.78 kB —
/live-audio/skin.css css 4.68 kB —
/live-audio/minimal-skin js 37.02 kB 67.46 kB
/live-audio/minimal-skin2 js 4.77 kB —
/live-audio/skin js 36.88 kB 67.46 kB
/live-audio/skin2 js 4.66 kB —
/publisher/skin.css css 5.38 kB —
/publisher/skin js 45.03 kB 67.46 kB
/publisher/skin2 js 5.39 kB —
/global.css css 250 B —
/shadow.css css 78 B —
UI Components (73)
Entry Initial Lazy
/ui/airplay-button 12.29 kB 67.46 kB
/ui/alert-dialog 8.98 kB 67.46 kB
/ui/audio-track-radio-group 12.40 kB 67.46 kB
/ui/buffering-indicator 9.62 kB 67.46 kB
/ui/camera-button 12.44 kB 67.46 kB
/ui/camera-radio-group 12.53 kB 67.46 kB
/ui/captions-button 12.54 kB 67.46 kB
/ui/captions-radio-group 12.46 kB 67.46 kB
/ui/capture-placeholder 10.62 kB 67.46 kB
/ui/cast-button 12.27 kB 67.46 kB
/ui/connection-indicator 10.50 kB 67.46 kB
/ui/container 10.48 kB 67.46 kB
/ui/controls 9.79 kB 67.46 kB
/ui/controls-backdrop 1.69 kB 67.46 kB
/ui/controls-content 1.67 kB 67.46 kB
/ui/dialog 8.92 kB 67.46 kB
/ui/dialog-backdrop 1.70 kB 67.46 kB
/ui/dialog-close 2.06 kB 67.46 kB
/ui/dialog-description 1.69 kB 67.46 kB
/ui/dialog-popup 1.90 kB 67.46 kB
/ui/dialog-title 1.69 kB 67.46 kB
/ui/enable-devices-button 12.49 kB 67.46 kB
/ui/error-dialog 13.41 kB 67.46 kB
/ui/fullscreen-button 12.29 kB 67.46 kB
/ui/gesture 10.72 kB 67.46 kB
/ui/hotkey 11.15 kB 67.46 kB
/ui/live-button 10.78 kB 67.46 kB
/ui/menu 19.98 kB 67.46 kB
/ui/menu-checkbox-item 1.97 kB 67.46 kB
/ui/menu-content 7.65 kB 67.46 kB
/ui/menu-group 2.09 kB 67.46 kB
/ui/menu-group-label 1.64 kB —
/ui/menu-item 2.29 kB 67.46 kB
/ui/menu-item-indicator 1.38 kB 67.46 kB
/ui/menu-radio-group 3.02 kB 67.46 kB
/ui/menu-radio-item 2.14 kB 67.46 kB
/ui/menu-separator 1.30 kB 67.46 kB
/ui/mic-button 12.43 kB 67.46 kB
/ui/mic-radio-group 12.54 kB 67.46 kB
/ui/mute-button 12.30 kB 67.46 kB
/ui/pip-button 12.25 kB 67.46 kB
/ui/play-button 12.22 kB 67.46 kB
/ui/playback-rate-button 12.33 kB 67.46 kB
/ui/playback-rate-radio-group 12.40 kB 67.46 kB
/ui/popover 8.77 kB 67.46 kB
/ui/poster 9.91 kB 67.46 kB
/ui/publish-badge 10.60 kB 67.46 kB
/ui/publish-button 11.00 kB 67.46 kB
/ui/publish-timer 11.19 kB 67.46 kB
/ui/quality-radio-group 12.92 kB 67.46 kB
/ui/screen-share-button 12.45 kB 67.46 kB
/ui/seek-button 12.28 kB 67.46 kB
/ui/seek-indicator 13.71 kB 67.46 kB
/ui/seek-indicator-value 1.10 kB —
/ui/slider 12.64 kB 67.46 kB
/ui/slider-preview 2.01 kB 67.46 kB
/ui/status-announcer 11.66 kB 67.46 kB
/ui/status-indicator 14.07 kB 67.46 kB
/ui/status-indicator-value 1.10 kB —
/ui/thumbnail 11.35 kB 67.46 kB
/ui/time 12.06 kB 67.46 kB
/ui/time-slider 14.19 kB 67.46 kB
/ui/time-slider-chapter-title 9.82 kB 67.46 kB
/ui/time-slider-chapters 10.66 kB 67.46 kB
/ui/title 9.21 kB 67.46 kB
/ui/tooltip 10.12 kB 67.46 kB
/ui/tooltip-label 1.21 kB —
/ui/tooltip-shortcut 1.18 kB —
/ui/volume-indicator 14.01 kB 67.46 kB
/ui/volume-indicator-fill 1.11 kB —
/ui/volume-indicator-value 1.10 kB —
/ui/volume-popover 15.95 kB 67.46 kB
/ui/volume-slider 13.33 kB 67.46 kB

⚛️ @videojs/react

Path Base initial PR initial Initial diff Lazy diff
/media/moq-publish-video 23.94 kB 25.40 kB +1.46 kB (+6.1%) —
Presets (7)
Entry Initial Lazy
/video (default) 59.63 kB 67.46 kB
/video (default + hls) 60.18 kB 67.46 kB
/video (minimal) 59.73 kB 67.46 kB
/video (minimal + hls) 60.30 kB 67.46 kB
/audio (default) 46.39 kB 67.46 kB
/audio (minimal) 46.45 kB 67.46 kB
/background 908 B 67.46 kB
Media (23)
Entry Initial
/media/mux-video/hls-js 1.45 kB
/media/mux-video/spf 1.46 kB
/media/mux-audio/hls-js 1.12 kB
/media/mux-audio/spf 1.13 kB
/media/background-video 513 B
/media/cloudflare-video 1.81 kB
/media/dash-video 1.11 kB
/media/hls-audio 22.27 kB
/media/hls-background-video 17.48 kB
/media/hls-video 32.63 kB
/media/hlsjs-video 1.12 kB
/media/moq-publish-video 25.40 kB
/media/mux-audio 1.12 kB
/media/mux-background-video 17.48 kB
/media/mux-video 1.44 kB
/media/native-hls-video 6.32 kB
/media/shaka-video 1.11 kB
/media/spotify-audio 1.89 kB
/media/tiktok-video 1.81 kB
/media/twitch-video 1.84 kB
/media/vimeo-video 1.79 kB
/media/wistia-video 1.41 kB
/media/youtube-video 1.79 kB
Extensions (2)
Entry Initial
/extensions/google-cast 1.77 kB
/extensions/mux-data 1.80 kB
Players (5)
Entry Initial Lazy
/video/player 8.23 kB 67.46 kB
/audio/player 4.39 kB 67.46 kB
/background/player 2.64 kB 67.46 kB
/live-video/player 7.59 kB 67.46 kB
/live-audio/player 4.40 kB 67.46 kB
Skins (20)
Entry Type Initial Lazy
/video/minimal-skin.css css 8.12 kB —
/video/skin.css css 7.81 kB —
/video/minimal-skin js 59.61 kB 67.46 kB
/video/skin js 59.51 kB 67.46 kB
/audio/minimal-skin.css css 5.88 kB —
/audio/skin.css css 5.60 kB —
/audio/minimal-skin js 46.37 kB 67.46 kB
/audio/skin js 46.34 kB 67.46 kB
/background/skin.css css 97 B —
/background/skin js 514 B —
/live-video/minimal-skin.css css 6.60 kB —
/live-video/skin.css css 6.51 kB —
/live-video/minimal-skin js 49.43 kB 67.46 kB
/live-video/skin js 49.55 kB 67.46 kB
/live-audio/minimal-skin.css css 4.58 kB —
/live-audio/skin.css css 4.47 kB —
/live-audio/minimal-skin js 34.64 kB 67.46 kB
/live-audio/skin js 34.64 kB 67.46 kB
/publisher/skin.css css 5.19 kB —
/publisher/skin js 37.34 kB 67.46 kB
UI Components (50)
Entry Initial Lazy
/ui/airplay-button 12.01 kB 67.46 kB
/ui/alert-dialog 5.20 kB 67.46 kB
/ui/audio-track 9.13 kB 67.46 kB
/ui/audio-track-radio-group 11.57 kB 67.46 kB
/ui/buffering-indicator 9.18 kB 67.46 kB
/ui/camera-button 12.16 kB 67.46 kB
/ui/camera-radio-group 11.49 kB 67.46 kB
/ui/captions-button 11.98 kB 67.46 kB
/ui/captions-radio-group 11.68 kB 67.46 kB
/ui/capture-placeholder 9.93 kB 67.46 kB
/ui/cast-button 12.00 kB 67.46 kB
/ui/connection-indicator 9.87 kB 67.46 kB
/ui/controls 9.06 kB 67.46 kB
/ui/dialog 5.20 kB 67.46 kB
/ui/enable-devices-button 12.24 kB 67.46 kB
/ui/error-dialog 13.40 kB 67.46 kB
/ui/fullscreen-button 11.96 kB 67.46 kB
/ui/gesture 9.35 kB 67.46 kB
/ui/hotkey 9.78 kB 67.46 kB
/ui/live-button 10.32 kB 67.46 kB
/ui/menu 22.80 kB 67.46 kB
/ui/mic-button 12.16 kB 67.46 kB
/ui/mic-radio-group 11.49 kB 67.46 kB
/ui/mute-button 12.02 kB 67.46 kB
/ui/pip-button 11.97 kB 67.46 kB
/ui/play-button 11.94 kB 67.46 kB
/ui/playback-rate 9.20 kB 67.46 kB
/ui/playback-rate-button 11.92 kB 67.46 kB
/ui/playback-rate-radio-group 11.62 kB 67.46 kB
/ui/popover 9.12 kB 67.46 kB
/ui/poster 9.39 kB 67.46 kB
/ui/publish-badge 9.91 kB 67.46 kB
/ui/publish-button 10.53 kB 67.46 kB
/ui/publish-timer 10.50 kB 67.46 kB
/ui/quality 9.56 kB 67.46 kB
/ui/quality-radio-group 11.98 kB 67.46 kB
/ui/screen-share-button 12.18 kB 67.46 kB
/ui/seek-button 11.96 kB 67.46 kB
/ui/seek-indicator 13.69 kB 67.46 kB
/ui/slider 15.13 kB 67.46 kB
/ui/status-announcer 11.59 kB 67.46 kB
/ui/status-indicator 14.13 kB 67.46 kB
/ui/thumbnail 10.57 kB 67.46 kB
/ui/time 11.40 kB 67.46 kB
/ui/time-slider 16.94 kB 67.46 kB
/ui/title 8.64 kB 67.46 kB
/ui/tooltip 9.98 kB 67.46 kB
/ui/volume-indicator 14.17 kB 67.46 kB
/ui/volume-popover 16.32 kB 67.46 kB
/ui/volume-slider 13.79 kB 67.46 kB
🧩 @videojs/core — no changes
Entries (77)
Entry Initial Lazy
. 14.76 kB —
/dom 24.40 kB 67.46 kB
/vjsc 2.23 kB —
/i18n 3.42 kB 67.46 kB
/i18n/locales/all 34.29 kB —
/i18n/locales/ar 1.39 kB —
/i18n/locales/az 1.29 kB —
/i18n/locales/bg 1.54 kB —
/i18n/locales/bn 1.49 kB —
/i18n/locales/bs 1.24 kB —
/i18n/locales/ca 1.26 kB —
/i18n/locales/cs 1.32 kB —
/i18n/locales/cy 1.24 kB —
/i18n/locales/da 1.17 kB —
/i18n/locales/de 1.28 kB —
/i18n/locales/el 1.65 kB —
/i18n/locales/en 1005 B —
/i18n/locales/es 1.19 kB —
/i18n/locales/et 1.24 kB —
/i18n/locales/eu 1.27 kB —
/i18n/locales/fa 1.43 kB —
/i18n/locales/fi 1.27 kB —
/i18n/locales/fr 1.23 kB —
/i18n/locales/gd 1.31 kB —
/i18n/locales/gl 1.21 kB —
/i18n/locales/he 1.33 kB —
/i18n/locales/hi 1.50 kB —
/i18n/locales/hr 1.27 kB —
/i18n/locales/hu 1.32 kB —
/i18n/locales/id 1.15 kB —
/i18n/locales/it 1.23 kB —
/i18n/locales/ja 1.39 kB —
/i18n/locales/ko 1.31 kB —
/i18n/locales/lt 1.26 kB —
/i18n/locales/lv 1.31 kB —
/i18n/locales/mr 1.48 kB —
/i18n/locales/nb 1.19 kB —
/i18n/locales/ne 1.46 kB —
/i18n/locales/nl 1.22 kB —
/i18n/locales/nn 1.18 kB —
/i18n/locales/oc 1.27 kB —
/i18n/locales/pl 1.33 kB —
/i18n/locales/pt 1.23 kB —
/i18n/locales/pt-BR 1.23 kB —
/i18n/locales/pt-PT 1.23 kB —
/i18n/locales/ro 1.26 kB —
/i18n/locales/ru 1.59 kB —
/i18n/locales/sk 1.32 kB —
/i18n/locales/sl 1.26 kB —
/i18n/locales/sr 1.28 kB —
/i18n/locales/sv 1.22 kB —
/i18n/locales/te 1.53 kB —
/i18n/locales/th 1.45 kB —
/i18n/locales/tr 1.22 kB —
/i18n/locales/uk 1.60 kB —
/i18n/locales/vi 1.33 kB —
/i18n/locales/zh 1.24 kB —
/i18n/locales/zh-CN 1.24 kB —
/i18n/locales/zh-TW 1.24 kB —
/i18n/text/airplay 101 B —
/i18n/text/buttons 137 B —
/i18n/text/captions 93 B —
/i18n/text/cast 114 B —
/i18n/text/common 90 B —
/i18n/text/container 75 B —
/i18n/text/errors 285 B —
/i18n/text/fullscreen 98 B —
/i18n/text/live 126 B —
/i18n/text/menu 249 B —
/i18n/text/pip 101 B —
/i18n/text/playback 80 B —
/i18n/text/publish 451 B —
/i18n/text/seek 105 B —
/i18n/text/slider 65 B —
/i18n/text/status 222 B —
/i18n/text/time 322 B —
/i18n/text/volume 133 B —
🏷️ @videojs/element — no changes
Entries (2)
Entry Initial
. 1.05 kB
/context 943 B
📦 @videojs/store — no changes
Entries (3)
Entry Initial
. 1.72 kB
/html 703 B
/react 511 B
🔧 @videojs/utils — no changes
Entries (13)
Entry Initial
/array 271 B
/dom 5.25 kB
/events 320 B
/function 414 B
/i18n 249 B
/jwt 176 B
/object 535 B
/predicate 297 B
/percent 281 B
/string 239 B
/style 212 B
/time 1018 B
/number 199 B
📦 @videojs/cdn — no changes
📦 @videojs/cloudflare-video — no changes
📦 @videojs/dash-video — no changes
📦 @videojs/google-cast — no changes
📦 @videojs/hlsjs-video — no changes
📦 @videojs/media — no changes
Entries (3)
Entry Initial
. 1.41 kB
/dom 4.12 kB
/media-tracks 2.05 kB
📦 @videojs/mux — no changes
📦 @videojs/mux-audio — no changes
Entries (2)
Entry Initial
. 136.12 kB
/spf 22.85 kB
📦 @videojs/mux-data — no changes
📦 @videojs/mux-video — no changes
Entries (2)
Entry Initial
. 136.12 kB
/spf 33.01 kB
📦 @videojs/native-hls-video — no changes
📦 @videojs/shaka-video — no changes

📦 @videojs/spf

Path Base initial PR initial Initial diff Lazy diff
/moq-publish 21.76 kB 23.17 kB +1.41 kB (+6.5%) —
/moq-publish-video 22.98 kB 24.41 kB +1.43 kB (+6.2%) —
Entries (10)
Entry Initial
. 4.55 kB
/dom 7.67 kB
/hls 28.21 kB
/media-tracks 607 B
/moq 32.90 kB
/moq-publish 23.17 kB
/moq-publish-video 24.41 kB
/hls-background-video 16.47 kB
/hls-audio 21.36 kB
/hls-video 31.73 kB
📦 @videojs/spotify-audio — no changes
📦 @videojs/tiktok-video — no changes
📦 @videojs/twitch-video — no changes

📦 @videojs/other

Path Base initial PR initial Initial diff Lazy diff
video.js 95.77 kB 97.21 kB +1.44 kB (+1.5%) 0 B
Entries (3)
Entry Initial Lazy
video.js 97.21 kB 67.46 kB
video.js/package.json 608 B —
video.js/errors 1.03 kB —
📦 @videojs/vimeo-video — no changes
📦 @videojs/wistia-video — no changes
Entries (2)
Entry Initial
. 1.91 kB
/helpers 1.77 kB
📦 @videojs/youtube-video — no changes

ℹ️ How to interpret

Each entry is independently bundled, minified, and brotli-compressed. Initial size includes its static import graph; lazy dynamic chunks are reported separately.

Entries are not additive because their dependency graphs overlap. Preset rows represent realistic combined bundles.

Changes of 300 B or less across initial, lazy, and total size are collapsed, not discarded.

Run pnpm size locally to check current initial sizes.

@mmcc
mmcc merged commit 8ddecc9 into mmcc/moq-publisher Oct 28, 2026
24 of 26 checks passed
@mmcc
mmcc deleted the feat/moq-publisher-caprid-core branch October 28, 2026 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant