-
Notifications
You must be signed in to change notification settings - Fork 109
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 |
Got it working on Unity 2022.3.39f1. Thanks |
The Webgl library does not implement whisper_init_from_file_with_params . It would be of immense help to have the Latest library for webgl. |
can i just check if this has been resolved and it can now work with webgl? if so how can i get it to work, sorry i am new to all this |
Is it possible to add /~https://github.com/bnco-dev/unity-webgl-microphone in the meantime |
There is a framework, which supports async operations in unity: /~https://github.com/Cysharp/UniTask.git |
Web GL builds are currently failing due to |
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: