[bounty] $400 fix audio device randomly stopping sometimes
display audio / microphone randomly stops on mac sometimes
had it running for 48h now and display audio somehow stopped a bit later after 50h
/bounty 400
@EzraEllette any idea?
i suggest finding way to reproduce and then some automated test and a fix
π $400 bounty β’ screenpi.pe
Steps to solve:
- Start working: Comment
/attempt #1626with your implementation plan - Submit work: Create a pull request including
/claim #1626in the PR body to claim the bounty - Receive payment: 100% of the bounty is received 2-5 days post-reward. Make sure you are eligible for payouts
β Important guidelines:
- To claim a bounty, you need to provide a short demo video of your changes in your pull request
- If anything is unclear, ask for clarification before starting as this will help avoid potential rework
- Low quality AI PRs will not receive review and will be closed
- Do not ask to be assigned unless you've contributed before
Thank you for contributing to mediar-ai/screenpipe!
| Attempt | Started (UTC) | Solution | Actions |
|---|---|---|---|
| π’ @abhishekkumar35 | Apr 04, 2025, 10:25:50 PM | WIP | |
| π’ @kushagra21-afk | Jul 14, 2025, 08:00:08 PM | #1849 | Reward |
| π’ @Anmol202005 | Aug 15, 2025, 06:35:48 PM | #1797 | Reward |
| π’ @naaa760 | Mar 19, 2025, 02:42:34 PM | WIP | |
| π’ @Ashutosh-GD | Apr 26, 2025, 03:56:15 AM | WIP | |
| π’ @anuj846k | Mar 30, 2025, 05:43:51 PM | WIP |
/attempt #1626 can i?
/attempt #1626
/attempt https://github.com/mediar-ai/screenpipe/issues/1626
@louis030195 The only possible explanation that i can find for this issue is that macos screen capture permissions can be revoked or timeout after a long period. this is a security feature of macos. when this happens, the audio stream silently fails.
@louis030195 Has this issue been claimed already?
Kindly, can put any logs when it crashed at 50th hour. Any one who might have reproduced this issue. it would be helpful. otherwise i think its bit like searching the needle in haystack.
Kindly, can put any logs when it crashed at 50th hour. Any one who might have reproduced this issue. it would be helpful. otherwise i think its bit like searching the needle in haystack.
agree, usually for me it stops after night of sleep or every 2 days
Whatβs the main component or framework the project uses? I want to find related issues in other projects." "I donβt think itβs a problem with the project itself β it might be something else, possibly a compatibility issue with macOS.
only on mac os or others?
it's only on mac i think - it runs for weeks on my windows
a simple fix would be a piece of code that just restart the audio recording at a high level every 20 hours for example
although i had issue to make this reliable itself myself (there are so many edge cases?)
ok.
some more questions:
- is the recording process stll running and audio or display not recording?
- or os also killing the running process?
Thanks.
if recording process is stil running we can add a logic in audio manager to try start aquire the respective device again. instead of silently failing. we retry and fail then even we can restart.
/attempt #1626
I tested it, & works fine after sleep
@louis030195 is this bounty still open can i work on this issue ?