screenpipe icon indicating copy to clipboard operation
screenpipe copied to clipboard

[bounty] $400 fix audio device randomly stopping sometimes

Open louis030195 opened this issue 9 months ago β€’ 20 comments

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

louis030195 avatar Mar 17 '25 15:03 louis030195

πŸ’Ž $400 bounty β€’ screenpi.pe

Steps to solve:

  1. Start working: Comment /attempt #1626 with your implementation plan
  2. Submit work: Create a pull request including /claim #1626 in the PR body to claim the bounty
  3. 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

algora-pbc[bot] avatar Mar 17 '25 15:03 algora-pbc[bot]

/attempt #1626

Options

naaa760 avatar Mar 19 '25 14:03 naaa760

/attempt #1632

Options

anuj846k avatar Mar 30 '25 17:03 anuj846k

/attempt #1626 can i?

abhishekkumar35 avatar Apr 04 '25 22:04 abhishekkumar35

/attempt #1626

Ashutosh-GD avatar Apr 26 '25 03:04 Ashutosh-GD

/attempt https://github.com/mediar-ai/screenpipe/issues/1626

Anmol202005 avatar May 17 '25 12:05 Anmol202005

@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.

Anmol202005 avatar May 17 '25 12:05 Anmol202005

@louis030195 Has this issue been claimed already?

itshaithamn avatar May 20 '25 22:05 itshaithamn

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.

webbdays avatar May 31 '25 09:05 webbdays

@louis030195 Has this issue been claimed already?

no this is still happening

louis030195 avatar Jun 03 '25 16:06 louis030195

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

louis030195 avatar Jun 03 '25 16:06 louis030195

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.

Harsh9485 avatar Jun 03 '25 17:06 Harsh9485

only on mac os or others?

webbdays avatar Jun 05 '25 03:06 webbdays

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?)

louis030195 avatar Jun 05 '25 15:06 louis030195

ok.

webbdays avatar Jun 06 '25 15:06 webbdays

some more questions:

  1. is the recording process stll running and audio or display not recording?
  2. or os also killing the running process?

Thanks.

webbdays avatar Jun 06 '25 15:06 webbdays

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.

webbdays avatar Jun 06 '25 15:06 webbdays

/attempt #1626

kushagra21-afk avatar Jul 14 '25 20:07 kushagra21-afk

I tested it, & works fine after sleep Image

BenraouaneSoufiane avatar Aug 05 '25 09:08 BenraouaneSoufiane

@louis030195 is this bounty still open can i work on this issue ?

rishi-jat avatar Oct 30 '25 16:10 rishi-jat