mediar-ai / screenpipe

Library to build personalized AI powered by what you've seen, said, or heard. Works with Ollama. Alternative to Rewind.ai. Open. Secure. You own your data. Rust.
https://screenpi.pe
MIT License
1.39k stars 107 forks source link

macos audio output Display with screencapturekit crash sometimes - (switch to cidre for macos audio output) #297

Open louis030195 opened 1 week ago

louis030195 commented 1 week ago

https://github.com/yury/cidre

i think there is another repo forgot link

basically we rely on https://github.com/mediar-ai/screencapturekit-rs through a hack in https://github.com/mediar-ai/cpal

which fixes ton of memory leaks but creates seg fault some times i think

also does not work on #199 beta

linear[bot] commented 1 week ago

MED-89 switch to cidre for macos audio output

louis030195 commented 1 week ago

also sometimes in current impl:

2024-09-10T17:48:37.242815Z ERROR screenpipe_audio::core: An error occurred on the audio stream: A backend-specific error has occurred: error occurred in screencapturekit stream

louis030195 commented 6 days ago

https://github.com/yury/cidre/blob/main/cidre/examples/sc-record/main.rs