Phase 18: Stream Recording System Foundation#54
Merged
infinityabundance merged 8 commits intomainfrom Feb 13, 2026
Merged
Conversation
Co-authored-by: infinityabundance <255699974+infinityabundance@users.noreply.github.com>
Co-authored-by: infinityabundance <255699974+infinityabundance@users.noreply.github.com>
Co-authored-by: infinityabundance <255699974+infinityabundance@users.noreply.github.com>
Co-authored-by: infinityabundance <255699974+infinityabundance@users.noreply.github.com>
Co-authored-by: infinityabundance <255699974+infinityabundance@users.noreply.github.com>
Co-authored-by: infinityabundance <255699974+infinityabundance@users.noreply.github.com>
Co-authored-by: infinityabundance <255699974+infinityabundance@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add stream recording system for gameplay
Phase 18: Stream Recording System Foundation
Feb 13, 2026
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
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.
Summary
Implements foundational infrastructure for stream recording: types, presets, storage management, and recording coordinator. Enables saving gameplay streams to disk with multiple quality/codec options (H.264, VP9, AV1) and container formats (MP4, Matroska).
Details
What changed?
Core Components (~3,500 LOC):
recording_types.h- Frame/audio structures, recording metadata, codec/preset enumsrecording_presets.h- 4 quality tiers (Fast: 20Mbps H.264 → Archival: 2Mbps AV1)disk_manager.cpp- Space monitoring, auto-cleanup, filename generationrecording_manager.cpp- Recording control, frame queuing, FFmpeg muxingBuild System:
Testing:
Documentation:
src/recording/README.md- Technical documentationdocs/recording_integration_example.sh- Integration guidePHASE18_SUMMARY.md- Implementation detailsverify_phase18.sh- Automated verificationRationale
Content creators need local recording without external tools. Foundation provides:
Aligns with RootStream's Linux-native approach - direct capture pipeline taps for recording, no compositor dependencies.
Testing
make)Standalone verification:
./verify_phase18.sh # Confirms all components ./tests/test_recording_compile.shNotes
Latency impact: None - recording runs in separate thread, queued frames don't block streaming path
Follow-up work required:
Not included (future PRs):
--record,--preset)Original prompt
PHASE 18: Stream Recording - Save Gameplay Streams to Disk
🎯 Objective
Implement a complete stream recording system that:
This is critical for content creators and gamers wanting to save memorable moments without external screen recording tools.
📋 Architecture Overview
🔨 Implementation Plan
1. Recording Types & Structures
File:
src/recording/recording_types.h2. Recording Manager (Main Coordinator)
File:
src/recording/recording_manager.h/cpp