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

Add shortcut to toggle audio recording and REST API #1072

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

neo773
Copy link
Contributor

@neo773 neo773 commented Dec 30, 2024

r_videoloop.mp4
a_videoloop.mp4

/closes #1065
/claim #1065

Copy link

vercel bot commented Dec 30, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
screenpipe ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 30, 2024 10:13pm

device_type: payload.device_type.unwrap_or(DeviceType::Input),
};

state.audio_devices_control.push((device.clone(), DeviceControl { is_running: true, is_paused: false }));
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does this work? i implemented audio_devices_control back then but not sure it's even working anymore

await new Promise((resolve) => setTimeout(resolve, 1000));
relaunch();
})
]);

listen('shortcut-start-audio', async () => {
toast({
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this seems wrong

why are you not using the rest API to stop/start audio device?

should not interrupt the vision recording

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[bounty] add shortcut to stop start audio recording
2 participants