Skip to content

Conversation

@Saelmala
Copy link
Contributor

This PR adds the 'real' audio device type we get from PortAudio in intercom-ingest (currently a PR in intercom-ingest).

Comment on lines 35 to 39
const productionManager = new ProductionManager(dbManager);
await productionManager.load();

const ingestManager = new IngestManager(dbManager);
await ingestManager.load();
Copy link
Contributor

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?

Copy link
Contributor

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) {
Copy link
Contributor

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.

@Saelmala Saelmala force-pushed the feat-add-support-for-ingest-devices branch from 668ce06 to 170fbcf Compare June 24, 2025 07:29
@Saelmala Saelmala marked this pull request as draft October 15, 2025 11:29
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

Successfully merging this pull request may close these issues.

4 participants