Repository navigation
docs(dgw): scope recording compaction to clips with XMF - #2211
Benoît Cortier (CBenoit) wants to merge 1 commit into
Conversation
The Compaction intent said Gateway always remuxes a finished WebM recording. Gateway remuxes and compacts each clip when its push ends, including a push that may reconnect, and does neither when the XMF native library is not loaded. The intent now says so, matching the glossary where a recording holds one or more clips. Issue: DGW-506 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01MzSAeHB4qpnSg5m2E16gRe
|
Lines changed: production code 0, tests 0, other files 3+/3- (intent files only). This came out of an intent drift audit of code changed in the last 15 days. DGW-506 shows this is intended: its test plan expects "each clip is compacted on its own" and, without XMF, "no remux and no compaction". So I propose rewording the intent rather than changing the code. Intent files are human-owned, so please reword or reject as you see fit. The other audited areas had no violations: device management (UniGetUI), the AI crate and its task API, the WindowsManaged data folder, and private-fs. Minor notes not acted on:
Generated by Claude Code |
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues remain, and the documentation changes clearly describe the clip-level, XMF-gated remuxing and compaction behavior.
No open issues 🎉
What changed in this PR
Clarifies that recording remuxing and compaction apply to individual WebM clips and occur only when the XMF native library is loaded.
Changes:
- Scopes Gateway remuxing and compaction to each clip after its push ends.
- Documents that clips remain unchanged when XMF is unavailable.
- Updates video-streamer compaction terminology and duration behavior to refer to clips.
| File | Description |
|---|---|
| devolutions-gateway/src/recording.intent.md | Documents XMF-gated remuxing and compaction behavior for individual WebM clips. |
| crates/video-streamer/src/compact.intent.md | Updates compaction, duration, and frame-retention terminology from recordings to individual clips. |
Review effort: Lite (adaptive)
|
This PR changes only two Markdown intent files, so the failure isn't from this diff. The test picks its ports with Generated by Claude Code |
The Compaction intent said Gateway always remuxes a finished WebM recording. Gateway remuxes and compacts each clip when its push ends, including a push that may reconnect, and does neither when the XMF native library is not loaded (
devolutions-gateway/src/recording.rs:942-958). The intent now says so, matching the glossary where a recording holds one or more clips.Issue: DGW-506
Generated by Claude Code