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

[Web] Update jscam example to function correctly in the latest version #168

Open
yunho-c opened this issue Mar 28, 2024 · 1 comment
Open
Milestone

Comments

@yunho-c
Copy link

yunho-c commented Mar 28, 2024

Hi, I see that there have been breaking changes in v0.10.0 for web/wasm support.

You can still use nokhwa in the browser, you just can't use it from JS. (0.10.0 release notes)

Currently, the jscam example does not compile, and I am lost on how to configure and test using nokhwa in a browser, since there are some backend-specific code involved (i.e., do I detect platform and invoke the right backend and decoding in the runtime? how do I setup the build and feature activation in cargo.toml?)

I would like to see the examples to be in line with the current API.

I am willing to work to create a PR (likely with some help), but still created this issue so we can track progress.

@l1npengtul l1npengtul added this to the 0.11 milestone Oct 12, 2024
@l1npengtul
Copy link
Owner

The entire JSCam backend is being reworked to properly fit the standard Camera API in 0.11, please be patient, I will try my best to get it released this year.

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

2 participants