-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Fix memory leaks and reduce memory usage in recording pipeline #1462
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
5b3cf0a
Add fragmented MP4 muxer and memory leak detector example
richiemcilroy e4488b7
Refactor image buffer handling in screen capture modules
richiemcilroy 167da33
Improve segmented MP4 error handling and add macOS FFmpeg muxer
richiemcilroy 5a0d04a
Refactor macOS camera buffer handling and error checks
richiemcilroy 3994152
Refactor MP4 encoder and segmented muxer handling
richiemcilroy 30d1e24
Update .gitignore
richiemcilroy e932335
coderabbit bits
richiemcilroy 6a7a3df
Update settings.local.json
richiemcilroy 75d578e
clippy
richiemcilroy d3ffa4c
clippy
richiemcilroy 7370a11
Merge branch 'main' into encoder-fixes
richiemcilroy d9ea73d
clippy
richiemcilroy 5e2fc84
Update feedback tab to show macOS version and screen capture support
richiemcilroy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,58 +1,58 @@ | ||
| { | ||
| "permissions": { | ||
| "allow": [ | ||
| "Bash(pnpm typecheck:*)", | ||
| "Bash(pnpm lint:*)", | ||
| "Bash(pnpm build:*)", | ||
| "Bash(cargo check:*)", | ||
| "Bash(cargo fmt:*)", | ||
| "Bash(pnpm format:*)", | ||
| "Bash(pnpm exec biome check:*)", | ||
| "Bash(grep:*)", | ||
| "Bash(cargo metadata:*)", | ||
| "Bash(ffprobe:*)", | ||
| "Bash(ls:*)", | ||
| "Bash(find:*)", | ||
| "Bash(cat:*)", | ||
| "WebFetch(domain:raw.githubusercontent.com)", | ||
| "WebFetch(domain:api.github.com)", | ||
| "Bash(cargo doc:*)", | ||
| "Bash(cargo clippy:*)", | ||
| "Bash(python3:*)", | ||
| "Bash(cargo run:*)", | ||
| "WebSearch", | ||
| "Bash(xargs ls:*)", | ||
| "WebFetch(domain:ffmpeg.org)", | ||
| "Bash(git log:*)", | ||
| "Bash(tree:*)", | ||
| "Bash(tail:*)", | ||
| "Bash(pnpm typecheck:desktop:*)", | ||
| "Bash(pnpm exec tsc:*)", | ||
| "Bash(pnpm biome check:*)", | ||
| "Bash(pnpm --dir apps/desktop exec tsc:*)", | ||
| "Bash(xxd:*)", | ||
| "Bash(git checkout:*)", | ||
| "WebFetch(domain:www.npmjs.com)", | ||
| "Bash(pnpm install:*)", | ||
| "Bash(pnpm --dir apps/desktop exec biome check:*)", | ||
| "Bash(pnpm --dir apps/desktop exec biome format:*)", | ||
| "Bash(echo:*)", | ||
| "Bash(pnpm exec biome:*)", | ||
| "Bash(rustfmt:*)", | ||
| "Bash(cargo tree:*)", | ||
| "WebFetch(domain:github.com)", | ||
| "WebFetch(domain:docs.rs)", | ||
| "WebFetch(domain:gix.github.io)", | ||
| "Bash(cargo clean:*)", | ||
| "Bash(cargo test:*)", | ||
| "Bash(powershell -Command \"[System.Environment]::OSVersion.Version.ToString()\")", | ||
| "Bash(cargo build:*)", | ||
| "Bash(gh api:*)", | ||
| "Bash(curl:*)", | ||
| "Bash(node -e:*)", | ||
| "Bash(findstr:*)" | ||
| ], | ||
| "deny": [], | ||
| "ask": [] | ||
| } | ||
| "permissions": { | ||
| "allow": [ | ||
| "Bash(pnpm typecheck:*)", | ||
| "Bash(pnpm lint:*)", | ||
| "Bash(pnpm build:*)", | ||
| "Bash(cargo check:*)", | ||
| "Bash(cargo fmt:*)", | ||
| "Bash(pnpm format:*)", | ||
| "Bash(pnpm exec biome check:*)", | ||
| "Bash(grep:*)", | ||
| "Bash(cargo metadata:*)", | ||
| "Bash(ffprobe:*)", | ||
| "Bash(ls:*)", | ||
| "Bash(find:*)", | ||
| "Bash(cat:*)", | ||
| "WebFetch(domain:raw.githubusercontent.com)", | ||
| "WebFetch(domain:api.github.com)", | ||
| "Bash(cargo doc:*)", | ||
| "Bash(cargo clippy:*)", | ||
| "Bash(python3:*)", | ||
| "Bash(cargo run:*)", | ||
| "WebSearch", | ||
| "Bash(xargs ls:*)", | ||
| "WebFetch(domain:ffmpeg.org)", | ||
| "Bash(git log:*)", | ||
| "Bash(tree:*)", | ||
| "Bash(tail:*)", | ||
| "Bash(pnpm typecheck:desktop:*)", | ||
| "Bash(pnpm exec tsc:*)", | ||
| "Bash(pnpm biome check:*)", | ||
| "Bash(pnpm --dir apps/desktop exec tsc:*)", | ||
| "Bash(xxd:*)", | ||
| "Bash(git checkout:*)", | ||
| "WebFetch(domain:www.npmjs.com)", | ||
| "Bash(pnpm install:*)", | ||
| "Bash(pnpm --dir apps/desktop exec biome check:*)", | ||
| "Bash(pnpm --dir apps/desktop exec biome format:*)", | ||
| "Bash(echo:*)", | ||
| "Bash(pnpm exec biome:*)", | ||
| "Bash(rustfmt:*)", | ||
| "Bash(cargo tree:*)", | ||
| "WebFetch(domain:github.com)", | ||
| "WebFetch(domain:docs.rs)", | ||
| "WebFetch(domain:gix.github.io)", | ||
| "Bash(ffmpeg:*)", | ||
| "Bash(DYLD_LIBRARY_PATH=/opt/homebrew/lib:$DYLD_LIBRARY_PATH ./target/release/examples/memory-leak-detector:*)", | ||
| "Bash(ln:*)", | ||
| "Bash(./target/release/examples/memory-leak-detector:*)", | ||
| "Bash(cargo build:*)", | ||
| "Bash(footprint:*)", | ||
| "Bash(RUST_LOG=info,cap_recording=debug ./target/release/examples/memory-leak-detector:*)", | ||
| "Bash(git rm:*)" | ||
| ], | ||
| "deny": [], | ||
| "ask": [] | ||
| } | ||
| } |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -51,3 +51,4 @@ tauri.windows.conf.json | |
| .cursor | ||
| .env*.local | ||
| .docs/ | ||
| .claude/ | ||
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Breaking change in SystemDiagnostics type requires verification.
The
SystemDiagnosticstype has been completely restructured from Windows/GPU-centric diagnostics to macOS-centric diagnostics. This breaking change removes several fields (e.g.,windowsVersion,gpuInfo,allGpus,renderingStatus,graphicsCaptureSupported,d3D11VideoProcessorAvailable) and introduces new macOS-specific fields (macosVersion,screenCaptureSupported).Ensure that all TypeScript consumers of this type have been updated to reference the new field names and structure.
🤖 Prompt for AI Agents