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

Recording does not begin when the microphone is connected (latency of 5 minutes on average) #4

Open
kissake opened this issue Jan 11, 2022 · 1 comment

Comments

@kissake
Copy link
Owner

kissake commented Jan 11, 2022

Because recording is started using cron periodically (every 10 minutes on the 10th minute) and not otherwise, there is about 5 minutes between when the microphone is connected and recording begins.

The mitigation for this issue is that there is visual indication when the microphone begins recording (the LED is extinguished when the microphone is recording), but this does impact other issues.

@kissake
Copy link
Owner Author

kissake commented Jan 11, 2022

The initial plan for this is to try to switch to using systemd and udev(?) to trigger recording automatically when microphone is attached. This will also be a good pattern for other data sources. It is of value to:

  • Mark the first recording after the microphone is connected,(to permit / ease time sync based on that time) and
  • Make recordings of limited duration (to limit exposure of already recorded data due to loss of control of keys that must be in place while recording is occurring).

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

1 participant