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

fix protocol detection for undiscoverable devices #1159

Merged
merged 1 commit into from
Nov 16, 2023

Conversation

borongyuan
Copy link
Contributor

In some network topologies PoE cameras cannot be discovered using getAllAvailableDevices(). But if their IPs are manually specified, they are actually accessible. This fix allows us to use these cameras. But there are still some small problems. For example, we cannot guarantee that the PoE camera is actually found before dai::Device is initialized. This is because there is only getDeviceByMxId() in the API, but not getDeviceByName(). Before dai::Device is initialized, its protocol cannot be detected.

@matlabbe
Copy link
Member

Great, thx!

@matlabbe matlabbe merged commit 757d3eb into introlab:master Nov 16, 2023
7 checks passed
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.

2 participants