-
Notifications
You must be signed in to change notification settings - Fork 8
feat: add support for ingest audio devices #134
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
base: main
Are you sure you want to change the base?
Conversation
| const productionManager = new ProductionManager(dbManager); | ||
| await productionManager.load(); | ||
|
|
||
| const ingestManager = new IngestManager(dbManager); | ||
| await ingestManager.load(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Won't this call db.connect twice?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The dbManager should keep track whether it is connected already. Not sure this is how it is today, but how it should be.
| } | ||
| } | ||
|
|
||
| private async pollDeviceData(ingest: Ingest) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure we want the backend to poll devices all the time? Why not let the frontend do the polling (when on ingest page) to the device endpoint in the manager.
668ce06 to
170fbcf
Compare
This PR adds the 'real' audio device type we get from PortAudio in intercom-ingest (currently a PR in intercom-ingest).