Platform/wasm browser#109
Conversation
…lve` and removed browser specific logic.
…of `LibraryImportAttribute`.
…rowser-specific configurations.
… in MiniAudio backend.
There was a problem hiding this comment.
Welcome to SoundFlow repository! We appreciate you taking the time to contribute.
We're excited to review your pull request and look forward to collaborating with you. Please let us know if you have any questions or need any assistance.
Thank you for your contribution!
…to replace AES and ECDsa usages that are not usable in the browser.
|
I have successfully found all code that is not compatible with the browser and annotated it as such. Unfortunately, to finish WASM compatibility, a considerable amount of code will have to be re-written to use asynchronous stream IO exclusively and to take out all uses of Also, the frameworks implementations of |
…fic implementations for unsupported APIs. Updated Emscripten paths and dependencies for WASM builds.
|
Since many implementations of Also, I propose the addition of |
|
Great job on this. I think this PR should wait for v2.0, which I’m planning to release in 2027. so we have all the time we need. My roadmap for v2.0 includes:
I still prefer to keep this a zero-dependency library, so adding BouncyCastle.Cryptography isn’t ideal. But since I have a year to solve these challenges, I’m sure we can figure out a better way. |
Working on fixing Blazor WASM support.
Todo list:
MiniAudioEngine.DataCallbackcannot be used as-is in WASM.Monitor.Wait()not supported on browser. (Used manually and inTask.Wait())System.Security.Cryptography.ECDsanot supported in the browser.System.Security.Cryptography.AESnot supported in the browser.Seek()and must be wrapped in a MemoryStream or another fix found.