Marc-Stefan Cassola
Marc-Stefan Cassola
This is a great idea but will be a lot of work. I'm not sure when we can get around to this. But if someone wants to contribute, we're happy...
References: https://docs.rs/web-sys/latest/web_sys/struct.MediaTrackConstraints.html#method.facing_mode https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia#syntax https://developer.mozilla.org/en-US/docs/Web/API/MediaTrackConstraints It actually shouldn't be a direct `web-sys` object because you cannot instantiate it on the server. The `web-sys` support here is not very ergonomic anyway. So...
The plans are absolutely to port it. I'll probably release a beta version in the next few days.
> > The plans are absolutely to port it. I'll probably release a beta version in the next few days. > > Hello, do you have a beta version for...
There is a branch where some work has been done already but as you say it's a ton of work and I haven't been able to find the time yet....
Released! 🎉 Thanks for the support of @kstep and patience of all of you.
I think you have a valid point there! Will do in the next version 👍
This is released
This function is not meant to be used inside server functions. You can use it in a component and it will work when the component is rendered on the server...
I see! Thanks for reporting