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.
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.
Hi, I see that there have been breaking changes in v0.10.0 for web/wasm support.
Currently, the
jscam
example does not compile, and I am lost on how to configure and test usingnokhwa
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 incargo.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.