Repository navigation
slice 4 of 4: Windows capture stack + native Windows client - #87
Closed
KooshaPari wants to merge 24 commits into
Closed
KooshaPari wants to merge 24 commits into
KooshaPari wants to merge 24 commits into
Conversation
…hat blocked all video The WGC and DXGI capture backends created their device with pAdapter = NULL and DriverType = D3D_DRIVER_TYPE_UNKNOWN. That pairing is invalid: D3D_DRIVER_TYPE_UNKNOWN is only meaningful when an explicit adapter is supplied, so with a NULL adapter it is always E_INVALIDARG (0x80070057). On Windows every capture-backed session therefore failed at device creation, the video pipeline never built, and the host shipped audio with zero video frames (host log: "pipeline build failed ... wgc: D3D11CreateDevice: The parameter is incorrect. (0x80070057)", retried 7 times per session). A NULL adapter means "default adapter", which requires D3D_DRIVER_TYPE_HARDWARE; it is the explicit-adapter case whose only legal value is D3D_DRIVER_TYPE_UNKNOWN. Corroboration that this is the call and not the driver: nvenc_d3d11.rs:406 pairs Some(&adapter) with UNKNOWN (legal) and its capability probe succeeds in the same process on the same GPUs (h264=true h265=true hevc_444=true ten_bit=true). Fixes wgc.rs:224 and dxgi.rs:207 (one token each); the import and comments were updated to record the contract so the pairing does not regress. tx-agent: jcode tx-validated: cargo-check (cargo check -p ss-capture with CMAKE_GENERATOR="Visual Studio 17 2022" and CMAKE_POLICY_VERSION_MINIMUM=3.5, finished clean) (cherry picked from commit a91e14a)
…rer's lifetime
The Windows branch of `capture_virtual_output` consumed the `VirtualOutput` and returned a
capturer that did not take its `keepalive`, so the display backend's RAII mode-restore
(`ModeRestore`, ss-vdisplay/src/display/windows.rs:182-205) dropped the moment the function
returned. Observed live: the head was set to the client mode at :27, WGC attached at :29, the
mode was restored at :31 - roughly 1 ms later, before the encoder even opened - and the
capture surface went back to 2560x1440 while the encoder session had been opened for
1920x1080. NVENC then refused every frame:
error=NVENC (Windows) frame 2560x1440 does not match the open session 1920x1080 resets=1
session ended with error ... error=encoder submit: NVENC (Windows) frame 2560x1440 does not
match the open session 1920x1080
No frames were shipped as a result: the session aborted ~1.5 s into a 20 s probe with
frames=0.
This mirrors the Linux contract rather than inventing one: ss_capture::open_virtual_output
already takes `keepalive: Box<dyn Send>` and the capturer owns it ("the capturer takes
`keepalive`, so dropping it releases the output", ss-capture/src/lib.rs:602-635). WgcCapturer
now does the same via `open_for_monitor_with_keepalive`, exposed as
`ss_capture::open_wgc_desktop_for_monitor_keepalive`, and capture.rs passes `vout.keepalive`.
`open_for_monitor` keeps its signature and passes None, so desktop/other callers are unchanged.
Effect measured on a binary carrying this change but not the D3D11 pairing fix: the session
ran the full 20 s instead of aborting at 1.5 s and the frame-size mismatch no longer appears -
i.e. the lifetime fix is independently effective.
tx-agent: jcode
tx-validated: cargo-check (cargo check -p ss-capture and cargo check -p slipstream-host, both exit 0 with CMAKE_GENERATOR="Visual Studio 17 2022" CMAKE_POLICY_VERSION_MINIMUM=3.5), cargo test -p slipstream-host --bins (374 tests: 368 passed, 6 failed - all pre-existing Windows failures unrelated to capture: library::art::tests::{local_art_path_detection,proxy_local_art_rewrites_only_local_paths}, mgmt::tests::compositors_lists_all_backends_with_flags, ops::store::catalog::tests::ureq_returns_304_as_ok, ops::store::sources::tests::published_index_signature_verifies, session::gamelease::tests::a_launch_always_gets_a_reference_instant_to_adopt_against)
(cherry picked from commit ee16999)
…nterval experiment
Windows capture saturates at ~48 fps (~144/3) across idle, a WinForms animation, and a WPF
per-present animation verified at 133 presents/s. The existing telemetry fused "the source
offered few frames" with "we took few of many": published and overwritten alone cannot tell
those apart. This separates them.
New per-sample counters, surfaced as StatsSample fields so
`/api/v1/stats/capture/live` carries them:
- `capture_frames_arrived` — `FrameArrived` handler invocations (wgc.rs:103-117 area). Bumped via
`FrameSlot::note_frame_arrived`, kept separate from `note_arrival` so the wakeup path is
untouched.
- `capture_try_next_ok` / `capture_try_next_empty` — outcomes of every `pool.TryGetNextFrame()`
in the drain loop, counted by `FrameSlot::note_try_next`.
Carried through `CaptureTelemetry::{frames_arrived, try_next_ok, try_next_empty}` and wired into
both samplers (native slipstream1 loop and the GameStream loop). Other backends fill zeros via
the existing `..Default::default()`.
Also adds the reversible experiment knob `SLIPSTREAM_WGC_MIN_UPDATE_HZ`. Unset (the default)
keeps today's change-driven behaviour exactly. Set, it calls
`GraphicsCaptureSession::SetMinUpdateInterval(TimeSpan)` with `10_000_000 / hz` (100 ns units),
the windows-rs projection of `IGraphicsCaptureSession2::SetMinUpdateInterval`, and logs
`wgc: minimum update interval requested`. Measured verdict from the counters: `arrived`,
`try_next_ok` and `published` all sit at ~48/s (idle: 645 arrivals / 645 publishes over the
session; animated: 654/652) while the presented content changed ~133x/s, i.e. the ceiling is
upstream of the host loop and the ~15 ms queue is our own cycle fed back.
tx-agent: jcode
tx-validated: cargo-check (CMAKE_GENERATOR="Visual Studio 17 2022" CMAKE_POLICY_VERSION_MINIMUM=3.5, cargo check -p ss-capture exit 0 and cargo check -p slipstream-host exit 0), cargo build --release -p slipstream-host exit 0, plus a live 1080p144 HEVC probe on the rebuilt host with the new counters read back from /api/v1/stats/capture/live
(cherry picked from commit 72e7952)
…tion The drain loop materialised each frame (staging map + row copies) before returning to TryGetNextFrame, so the pool's consumer looked slow to the capture session while a copy was in flight. Split into a drain thread that only takes/releases frames (one-deep replace-newest handoff) and a single materialisation thread that owns the immediate context. tx-agent: jcode tx-validated: cargo build --release -p slipstream-host (exit 0); live WGC counters on the host (idle 2 fps/static desktop, 48.0-48.4 fps animated; arrived==try_next_ok==published, overwritten<=3) (cherry picked from commit 773c21b)
…ut path Same divergence fix as fix/capture-method-divergence, carried here because this branch already owns the virtual-output keepalive contract: the opener now opens WGC or DXGI as the plan resolved instead of always WGC, and DXGI gains the keepalive constructor (open_for_monitor_with_keepalive / open_dxgi_desktop_for_monitor_keepalive) so a DXGI session holds the display backend's mode-set for the capturer's lifetime exactly as WGC does. tx-agent: jcode tx-validated: cargo build --release -p slipstream-host (exit 0); regression test opener_agrees_with_the_resolved_plan_for_every_spelling passes on fix/capture-method-divergence (4001c6f), same test text (cherry picked from commit 66b4878)
WGC delivers ~21-26 new frames/s while the desktop presents 143.85/s, our per-frame cost is 2.0-4.9 ms and nothing overflows the slot. That leaves WGC's own production as the gate, and the two things we never looked at were which DXGI adapter the capture device sits on and how deep the frame pool is. (cherry picked from commit 23a628a)
…ission + present seam) Adds clients/windows, the first native Windows client. It is a complete transport client today: `_slipstream._udp` discovery, manual ip:port entry, shared identity persistence, the PIN pairing ceremony, QUIC Hello/Welcome negotiation, the full video-plane receive loop, and `--record` to a playable elementary stream. The window and the D3D11VA/NVDEC decode backend attach at the Decoder/Presenter traits in src/present.rs; they are not in this change because this box has no FFmpeg dev SDK and ss-presenter is Vulkan/Linux-only (every module is cfg(target_os = "linux"), so it compiles to an empty crate here). Reuses slipstream-core (endpoint, NativeClient::pair, Session, UdpTransport) and mirrors clients/probe's proven receive loop rather than reinventing it. Pure-logic seams mirror clients/apple: HostAdvert (fail-closed pair=optional rule), the Admission table, ConnectOutcome classification, and a phase Machine. Verified: cargo build --release -p slipstream-windows -> Finished; cargo test -p slipstream-windows -> 30 passed, 0 failed. Live attempt against 100.112.143.99:9777: host pings but the QUIC handshake did not complete in ~120s (known wedged-host state); zero frames, attempted once. tx-agent: jcode tx-validated: cargo build --release -p slipstream-windows; cargo test -p slipstream-windows (30 passed) (cherry picked from commit 40f9812)
tx-agent: jcode tx-validated: cargo build --release -p slipstream-windows (cherry picked from commit 576fedf)
The present seam now has real backends: - ff.rs: ffmpeg.exe child process (Annex-B AUs on stdin, raw RGBA on stdout) with a stdout reader thread so the pipe cannot deadlock in either direction. The probe has no video decoder to reuse (it only decodes Opus and dumps the HEVC bitstream), and crates/ss-presenter is Linux/Vulkan-only. - window.rs: Win32 window + 32-bpp DIB + StretchDIBits per frame, aspect preserved, closes on X/Esc; logs frames/fps every 2 s. - mf.rs: Media Foundation MFT decoder, opt-in via SLIPSTREAM_WINDOWS_DECODER_MF=1. It enumerates the installed HEVC MFT and accepts every AU but emits no frame: the Microsoft HEVC decoder is an async DXVA MFT and needs a D3D11 device manager. Kept as groundwork for that path. - --play FILE: decode an Annex-B stream into the window with no network, which is how the decode+present stack is proven independently of host state. - Welcome read is bounded to 15 s so a host that handshakes and then stalls fails with that message instead of hanging the client. tx-agent: jcode tx-validated: cargo build --release -p slipstream-windows; cargo test -p slipstream-windows (33 passed); slipstream-windows --play test-1080p144.h265 --mode 1920x1080x144 --seconds 20 -> 720 frames presented in 18.8 s (38.4 fps); live 192.168.1.138:9777 1080p144 8Mbit -> 0 frames, host sent no Welcome (retried twice, probe also stalls) (cherry picked from commit 34b1f44)
The Windows client now streams a real session from the nixos host: 1893 AUs in, 801 frames presented, 31.9 fps over 25.1 s at 1920x1080@144, 8 Mbit/s. What unblocked it: the host was never wedged. It logged "unpaired device knocked — parking connection for delegated approval in the console name=KOOSHAPARI-DESK" and the client's 15 s Welcome bound fired. Approving the pending device on the host (POST /api/v1/native/pending/0/approve -> 200) made the same binary stream. Host bringup for the session: NVENC 1920x1080@144 bit_depth=8 mbps=8, trace first_frame+3575 first_au+4072 first_packet+4085 ms. Known gaps recorded in PR.md and the pixel report: ~16 s to the first presented frame (ffmpeg probe buffering), decode-bound at software HEVC (~55 fps ceiling), no audio, no input, no vsync, no dropped-frame accounting. tx-agent: jcode tx-validated: cargo build --release -p slipstream-windows; cargo test -p slipstream-windows (33 passed); live 192.168.1.138:9777 --mode 1920x1080x144 --bitrate 8000 --seconds 25 -> 1893 AUs, 801 frames presented, 31.9 fps (host bringup first_frame+3575 first_packet+4085) (cherry picked from commit 2abfe99)
…r to 32k, one frame per AU Measured 20 s at 1080p144 against nixos: received 1705, decoded 1630, presented 1630, 81.4 fps, ivl p50 8-12 ms p95 11-14 ms. received-decoded is a constant 75 (pipeline depth, not loss). -probesize 32k/-analyzeduration 0 removes the 5 MB probe stall that cost 8-16 s of black at startup; newest-wins frame delivery was discarding decoded frames and is replaced by one-per-AU. -hwaccel d3d11va/dxva2 measured 3.7 fps on a live stream (pathological), so hwaccel stays opt-in. tx-agent: jcode tx-validated: cargo build --release -p slipstream-windows; live 192.168.1.138:9777 --mode 1920x1080x144 --bitrate 8000 --seconds 20 -> received 1705 decoded 1630 presented 1630, 81.4 fps; hwaccel d3d11va same host -> 95 frames, 3.7 fps (cherry picked from commit 6b84b50)
… control) The 75-frame standing depth was our own unbounded frame channel plus ffmpeg running ahead, not an unavoidable reorder window. sync_channel(3) makes the reader thread block on send when full, which stops ffmpeg reading stdin, which stops us writing AUs; decode_one now pops before writing so freeing a slot never depends on a blocked write. No timer, no dropped frames. 20 s at 1080p144 8 Mbit vs nixos: received 1956, decoded 1936, presented 1936, 96.7 fps (was 1705/1630/1630, 81.4 fps), ivl p50 7.2-9.5 ms p95 8.8-12.0 ms max 10.6-14.8 ms (334 ms spike gone), queue_max 4, blocked writing 39 ms total, first frame unchanged ~1 s, presented == decoded every window. tx-agent: jcode tx-validated: cargo build --release -p slipstream-windows; live 192.168.1.138:9777 --mode 1920x1080x144 --bitrate 8000 --seconds 20 -> received 1956 decoded 1936 presented 1936, 96.7 fps, queue_max 4, blocked_ms 39, ivl p50 7.2-9.5 p95 8.8-12.0 max 14.8 (cherry picked from commit 413db2c)
…stage timings The presenter blitted every frame with StretchDIBits even when the destination was already frame-sized, because the window was created with a frame-sized OUTER rectangle - so the client area was always slightly smaller than the DIB and GDI took its software-resampling path on 8.3 MB of pixels. Create the window with AdjustWindowRect so the CLIENT area is exactly the frame, and blit with SetDIBitsToDevice (a plain copy) whenever dest and source agree, falling back to StretchDIBits only when the user has resized the window away from 1:1. Add the instrumentation that found this and keeps it honest: the presenter now reports cumulative (convert_ns, blit_ns) via Presenter::stage_ns, and the session loop folds poll/decode/present/convert/blit into one per-frame log line. A SLIPSTREAM_PLAY_UNPACED=1 hatch runs the recorded-play path without the pacer so the stack's own cost can be measured instead of the pacer's. Measured against the live desk host with the known-rate generator running (1080p144 session, software ffmpeg decode): blit_ms 0.87 - 3.47 (was the suspected bottleneck; no longer) convert_ms 5.0 - 9.2 (now the dominant cost: CPU RGBA->BGRA of 8.3 MB) present_ms 7.0 - 16.1 decode_ms 0.05 - 1.8 Client present ceiling is therefore ~120 fps and the client is no longer the limiter; the 31.5 fps presented in that run tracks the generator's own 39.8 fps output. The obvious next win is asking ffmpeg for bgra so the channel swap disappears entirely. Work inherited from an agent killed by a server reload before it could commit; built and measured by the coordinator. tx-agent: jcode tx-validated: cargo-build (cherry picked from commit 01b1291)
…e copy per frame The presenter used to swizzle every pixel of every frame: ffmpeg emitted RGBA, `copy_rgba_to_dib` walked 2 M pixels swapping R and B into an 8 MB scratch buffer, and then copied that buffer into the DIB. That is two full passes over 8.3 MB per frame at 1080p plus a per-pixel loop. Ask ffmpeg for `bgra` instead. GDI's 32-bpp BI_RGB DIB is blue-first, so the decoded frame already matches the destination: the presenter's convert step is now a single `copy_nonoverlapping` from the frame into the DIB bits, and the scratch buffer is gone. `DecodedFrame.rgba` becomes `DecodedFrame.pixels` with the byte order spelled out, and the Media Foundation path converts NV12 to the same order so both decoders honour one contract. Measured on this box (1080p, in-process, back-to-back, 200 iterations): old path (swizzle + copy to DIB): 19.19 ms/frame new path (single copy to DIB): 3.61 ms/frame swizzle pass alone: 9.58 ms/frame The GDI blit is unchanged (already 1:1, 0.87-3.47 ms since 01b1291). tx-agent: jcode-win-client tx-validated: test (cherry picked from commit 3a045d2)
A head that cannot honour the requested mode refuses it, and the host corrects
the client's mode slot with `Reconfigured { accepted: true, mode }` carrying what
it can actually encode. The client ignored all of it: the ffmpeg argv, the
reader's frame size, the window client area and the DIB were all sized from the
*requested* mode.
The reader is the fatal part. It allocates one buffer of `width * height * 4` from
the requested size at spawn, and every read is a `read_exact` of exactly that many
bytes. When the host delivers a different geometry the pipe desynchronises and the
reader blocks forever waiting for a byte count that will never arrive. Measured
before this change: request 1512x982@120 against a head that serves 2560x1440 and
the client sat at `present frames=0 fps="0.0"` for 160 s while the host reported
sent=3796 AUs - a black window blamed on the host, caused here.
Four coordinated pieces:
- main.rs: a task keeps reading the control stream (it was otherwise a one-shot
read of `Welcome`) and stores any `Reconfigured` mode; the session loop drains
it, logs "adopting the delivered mode" with from/to, and calls
`decoder.resize()` and `presenter.resize()`.
- ff.rs: `reinit()` respawns the child at the delivered geometry and replays the
buffered AUs, so the replacement starts from the opening parameter sets - the
same discipline as the hwaccel fallback.
- window.rs: `resize()` recreates the DIB at the delivered size and SetWindowPos's
the client area to match, so the 1:1 `SetDIBitsToDevice` fast path survives a
mode change instead of silently refusing every frame.
- present.rs / window.rs: `copy_frame_to_dib` returns on a size mismatch rather
than copying past the buffer, and `Decoder`/`Presenter` gained a no-op `resize`
so backends that do not care stay unchanged.
Verified on the desk host (release build, pid 25252, fingerprint 0f9f361c):
refused 1512x982@120 -> host corrected to 2560x1440@120
528 frames presented in 15.0 s
convert 0.97-1.37 ms, blit 0.05-0.07 ms, present 1.28-1.43 ms, decode 0.01 ms
accepted 1920x1080@144
485 frames presented in 12.0 s (40.4 fps)
convert 0.64-0.74 ms, blit 0.05-0.06 ms, present 0.69-0.81 ms
Both are source-limited by an idle desktop (spin_ms 15-24), not by the client: its
own cost is now ~1.3 ms/frame instead of the 7-16 ms measured before. The window
really did resize, and the log line naming the adopted mode is what makes a
refused mode diagnosable instead of looking like a silent black screen.
tx-agent: jcode
tx-validated: build+run
(cherry picked from commit a9a05cf)
…ailing at 15 s
An unpaired device's first knock is parked host-side for delegated approval with a
180 s window (crates/slipstream-host/src/protocol/slipstream1.rs:757, "parking
connection for delegated approval"). The host holds the connection open and silent
for that whole window before it sends Welcome.
The client gave up on the session offer after 15 s, which made a first connect
succeed only if a human clicked Approve inside a 15 s window - not achievable by
hand. I proved that earlier by racing an approving script against the client: the
same client connects instantly once paired.
Two-phase wait, which is also what the Mac client ships (185 s,
clients/apple SessionModel.swift:365):
- FIRST_OFFER_WAIT = 15 s. On expiry emit a WARN that names the likely cause
("the host has parked this device for approval; approve it in the host console -
still waiting") and keep the SAME connection open.
- APPROVAL_WAIT = 195 s of extra grace, so the total ceiling is 210 s - just past
the host's 180 s park plus room for the approval round trip, so an approval
actually lands on the connection that is already waiting.
- On final failure the message now says what really happened instead of only
blaming a stalled pipeline.
A genuinely wedged capture/encode pipeline still fails, just later and with a
message that mentions both possibilities.
Verified: cargo test -p slipstream-windows --bin slipstream-windows, 34 tests pass,
including offer_wait_outlasts_the_hosts_pairing_park and the assertion that the
narrated wait is shorter than the grace it announces. Not verified end to end:
this identity (KOOSHAPARI-DESK) is already paired, so exercising the unpaired path
would require clearing the live host's pairing file, which is out of bounds.
Written by a worker that was stopped by a server reload before it could build or
commit; built, tested and committed by the coordinator.
tx-agent: jcode
tx-validated: test
(cherry picked from commit f0fd1fa)
…ro-fill Windows capture lands every frame in CPU memory via a full 2560x1440x4 staging readback, but nothing reported what producing a frame COST, so a source delivery ceiling (few FrameArrived events) and a per-frame cost ceiling (each frame takes ~40 ms) were indistinguishable at the stats boundary. (cherry picked from commit 1a34ba1)
…hat blocked all video The WGC and DXGI capture backends created their device with pAdapter = NULL and DriverType = D3D_DRIVER_TYPE_UNKNOWN. That pairing is invalid: D3D_DRIVER_TYPE_UNKNOWN is only meaningful when an explicit adapter is supplied, so with a NULL adapter it is always E_INVALIDARG (0x80070057). On Windows every capture-backed session therefore failed at device creation, the video pipeline never built, and the host shipped audio with zero video frames (host log: "pipeline build failed ... wgc: D3D11CreateDevice: The parameter is incorrect. (0x80070057)", retried 7 times per session). A NULL adapter means "default adapter", which requires D3D_DRIVER_TYPE_HARDWARE; it is the explicit-adapter case whose only legal value is D3D_DRIVER_TYPE_UNKNOWN. Corroboration that this is the call and not the driver: nvenc_d3d11.rs:406 pairs Some(&adapter) with UNKNOWN (legal) and its capability probe succeeds in the same process on the same GPUs (h264=true h265=true hevc_444=true ten_bit=true). Fixes wgc.rs:224 and dxgi.rs:207 (one token each); the import and comments were updated to record the contract so the pairing does not regress. tx-agent: jcode tx-validated: cargo-check (cargo check -p ss-capture with CMAKE_GENERATOR="Visual Studio 17 2022" and CMAKE_POLICY_VERSION_MINIMUM=3.5, finished clean) (cherry picked from commit a91e14a)
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
| } | ||
| .context("MFTEnumEx(video decoder)")?; | ||
| let activate = if count > 0 && !activates.is_null() { | ||
| unsafe { (*activates).clone() } |
Contributor
Author
|
Close as Dupl. No layered PR Strategy so this is clutter |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Supersedes #86, which GitHub wedged on a stale head.
Why this exists: PR #86 closed with its
headRefOidfrozen at09640066while the branch was at7f535f46.GET /repos/vindeckyy/slipstream/compare/main...KooshaPari:slice/windows-stackreportsstatus=ahead,ahead_by=24,tip=7f535f46, so upstream can see the branch fine. A normal push and an additional empty refresh commit both failed to move the PR's cached head, and CI kept building the stale09640066, which is why it reportedE0063onCaptureTelemetry. Same branch, same commits, fresh PR object, so CI now checks the real tip.Blocker status against the review on #86
CaptureTelemetrymissingframes_arrived,producer_us,try_next_empty,try_next_ok90d4feca90d4feca--pairunreachable from any CLI invocationHOST --pair PIN, with--pairimplying connect and a parse testff.rs finish()deadlock (writer joined before the 3-deep queue drains)mf.rs drain()sample/buffer leak viaManuallyDrop::new(Some(osample.clone()))NEED_MORE_INPUTpathFfmpegDecoder::spawnaccepts only H.264/HEVC--codec av1with a clear errorNoFramesleep does not pump window messages, so X/Esc cannot close the windowWhy 6 and 7 are deferred: both depend on the session runtime added in
clients/windows/src/session.rs(run_stream/SessionConfig, commit5ba96f32), which is not on this branch. Data punch and keyframe recovery are implemented against that runtime on the separate client line, which the operator is re-splitting as its own PR rather than grafting into this slice.Verification at
7f535f46cargo check -p slipstream-host- passcargo check -p ss-capture- passcargo check -p slipstream-windows- passcargo fmt- cleancrates/ss-capture/src/platform/linux/mod.rsis122028db, identical to90d4feca, confirming the field fix is present on this headRelease impact
StatsSampleschema.