Skip to content
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

【HELP】How to record screen including system audio #118

Open
QC2168 opened this issue Dec 30, 2024 · 4 comments
Open

【HELP】How to record screen including system audio #118

QC2168 opened this issue Dec 30, 2024 · 4 comments

Comments

@QC2168
Copy link

QC2168 commented Dec 30, 2024

I looked at past issues and he didn't support it. Does he support audio now?

Or is there any way I can add audio to my recorded video?

I saw the send_audio_buffer method, but I don't know how to use it

@mycrl
Copy link
Collaborator

mycrl commented Dec 30, 2024

use cpal crate

@QC2168
Copy link
Author

QC2168 commented Dec 31, 2024

I saw cpal, but I don't know how to combine it with window_capture. Can you give me an idea or hint? @mycrl

@QC2168
Copy link
Author

QC2168 commented Jan 5, 2025

How to set AudioSettingsBuilder?

AudioSettingsBuilder::default().disabled(false)

after I set it to disabled(false), I called stop function and couldn't close the recording properly

@QC2168
Copy link
Author

QC2168 commented Jan 5, 2025

Now I have obtained the audio buffer, but I am not sure how to fill in timespan. Is there any way to write it directly into the buffer when I finish recording?

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

No branches or pull requests

2 participants