-
Notifications
You must be signed in to change notification settings - Fork 76
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
WebGL support #20
Comments
Did some tests today. Here is rough list of tasks that need to be done:
If you want to play around with it, check webgl branch. |
Hi @Macoron, any updates on webgl support. Did you get it running? |
Not much, biggest blocker is that Unity doesn't support C# multithreading. But you can checkout webgl branch. It's a bit outdated, but still working. |
Based on this source, Async/Await is possible for WebGL with this addon: https://github.com/Cysharp/UniTask |
Whisper.cpp supports webasm and even has some online demos running into browser.
I didn't research that, but it seems that Unity support native C++ plugins for WebGL builds. So in theory, you can use cmake to compile whisper.cpp into
.bc
and embed it into web unity build.Also Unity doesn't support microphone input for WebGL out of the box and you need third-party plugin to record anything.
The text was updated successfully, but these errors were encountered: