Use of threads is an issue for html5 export
Issue #71
resolved
Hi, first of all, thanks for the great tool :)
So, the problem I'm facing is that, since godot-midi-player uses threads, it is not so compatible with html5 export (browsers in general). And so practically I cannot hear audio on Html5 (both Desktop and Mobile). It only works on html5 testing environment, since sharedArrayBuffer is available.
You can check here for additional info: https://docs.godotengine.org/en/stable/tutorials/export/exporting_for_web.html https://caniuse.com/sharedarraybuffer
Is there a workaround for this? Is there a way I can use godot-midi-player without using threads?
Thanks!
Comments (2)
-
repo owner -
repo owner - changed status to resolved
- Log in to comment
I fixed it at
a13f483
.Use
_process
instead ofThread
when running on HTML5