Skip to content

Keep prepared playback cache limits current and verify release transport - #15

Open
sachk wants to merge 18 commits into
release/0.10.2from
feat/playback-cohesion
Open

sachk wants to merge 18 commits into
release/0.10.2from
feat/playback-cohesion

Conversation

@sachk

@sachk sachk commented Nov 25, 2026 •

Copy link
Copy Markdown
Collaborator

Changes

  • Prove HTTP/2 fallback from an advertised HTTP/3 endpoint that silently drops UDP. Check negotiation independently in the server log and compare all decoded PCM.
  • Keep cache budgets in bytes and apply changes to mpv cores that are initializing or already prepared.
  • Report the negotiated video and audio output and record transport CPU, copy and wakeup cost in the existing harnesses.
  • Document package evidence, the two Jellyfin baselines and the physical-device coverage still needed.

Verification

  • Linux portable 0.10.2 libmpv passed the H1/H2/H3 range suite and all 23 curl transport tests.
  • Jellyfin 12.2.0 completed all five scenarios at 40 ms / 24 Mb/s and 150 ms / 48 Mb/s. Instrumented repeats used the same release binary.
  • The private Weston player regression failed against the original cache handoff and passed with the fix. The cache policy, option profile, FFmpeg compliance, curl policy/controller/budget and module seam checks passed.
  • The 150 ms packet run was inconclusive for 150 Mb/s continuous playback. The report records the capacity and observed H3 socket evidence.
  • Package inspection covers Linux, macOS, Windows, Android, iOS, tvOS and webOS. Physical decoder, audio routing, HDR and embedded CPU performance require device verification.

Stacked on release/0.10.2 while #13 is open.

Additional runtime evidence

  • The extracted Linux release library passed embedded frame readback with software OpenGL and Vulkan in private Weston sessions. H.264 selected software decode and FLAC advanced through ALSA on an isolated virtual device.
  • A private mount namespace varied reported platform memory headroom. The real PlayerController and mpv reported 512/128 MiB at startup, 32/16 MiB after pressure, 32/16 MiB after one recovery sample, and 512/128 MiB after confirmation.
  • A supplemental Jellyfin QUIC probe corrected Host forwarding in its private nginx fixture. Authenticated H3 playback and both seeks completed at 40 ms / 24 Mb/s and 150 ms / 48 Mb/s. At 150 ms H3 used one UDP socket, took 14.54 s to first frame, and used 18.15 ms of curl CPU per delivered MB. Forced H2 used one TCP socket, 5.24 s, and 5.88 ms/MB. The data supports retaining the current automatic policy.
  • The first PR CI failure was Windows setup, where Chocolatey returned HTTP 504 while fetching Meson 1.9.1. The duplicate push matrix was cancelled after the PR matrix started.

Copilot AI balanced review requested due to automatic review settings November 25, 2026 20:43

Copilot AI 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.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@sachk
sachk force-pushed the feat/playback-cohesion branch from d00674a to 27c0e03 Compare November 26, 2026 15:51
Consolidate changes from d00674a.
Preserve the original branch snapshot across the complete series.
…en build setup

Consolidate changes from d00674a.
Preserve the original branch snapshot across the complete series.
@sachk
sachk force-pushed the feat/playback-cohesion branch from 27c0e03 to 9d012d9 Compare November 26, 2026 16:07
sachk added 16 commits November 27, 2026 23:11
(cherry picked from commit 79c9eaca4a81bca3aa2e03395b8cdec44d08cc34)
(cherry picked from commit 64c2c1470cb95461a8c3c520b5759b1015c37be0)
(cherry picked from commit cdad353d4f367c1f44a3f2b01f51345df8ecd041)
(cherry picked from commit 3995525dd9b06f7bfd9aef0370658aa6dd52f231)
Crop the active details page primary caption before running single-line OCR so the accent fill and focus outline cannot hide Resume from page segmentation. Click the recognized caption when resuming and keep the provider and decoded-frame checks.

(cherry picked from commit 9992d8ab7fcaec678a0c21161360be10d529d370)
Request pause as soon as the saved movie has an active session. Require renderer readiness and observed pause before seeking. Use the Fast picture profile for this phase to reduce rendering load and keep adaptive quality changes out of Apple startup.

Verify both paused positions and decoded frames, clock advancement after resume, and the local stop position with the provider unavailable. Retain numeric mpv end reason and error values for early playback failures.

(cherry picked from commit 8cb46564882afe5d6d40f62564a56a451d774492)
The running UI estimate can cross the advance threshold before mpv reports that position. Check a settled mpv sample for progress, refresh it asynchronously on pause, and wait for a fresh paused position before comparing it with the saved stop.

(cherry picked from commit b6586535cbde95f29b8a5d36879c16a52a2bd912)
Keep the isolated journey on one picture profile across the offline to online transition. Pause the initial episode as soon as the negotiated file is loaded, and still require the Jellyfin catalogue and playback start receipts before seeking.

Export numeric mpv end diagnostics for startup and pause failures while keeping uncontrolled log content private.

(cherry picked from commit 42efd7649265c3273ef890bb610becb2f1a3653a)

This branch has not been deployed

No deployments
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.

2 participants