adrenak / univoice

Voice chat/VoIP solution for unity.
http://www.vatsalambastha.com/univoice
MIT License
363 stars 36 forks source link

WebGL #9

Open TheRDavid opened 2 years ago

TheRDavid commented 2 years ago

Hello, quick question: Does univoice work on WebGL? Thank you!

adrenak commented 2 years ago

@TheRDavid the underlying airpeer project does have support for WebGL.

univoice doesn't use threading either, so that shouldn't be an issue.

The last core module is unimic for mic input. I've never testing it on webgl, but I think that should work too.

Good chance it should work! Please let me know if you try it out

wei-kris commented 1 year ago

image Library\PackageCache\com.adrenak.unimic@1.1.0\Runtime\Mic.cs(179,13): error CS0103: The name 'Microphone' does not exist in the current context

There are errors when building webgl.

wei-kris commented 1 year ago

Cannot use Microphone class on webgl.

Maybe you can try this: https://github.com/tgraupmann/UnityWebGLMicrophone

adrenak commented 1 year ago

Hey thanks! I'll add that library soon.

Edit: have you tested this?

On Fri, 31 Mar, 2023, 09:08 wei-kris, @.***> wrote:

Cannot use Microphone class on webgl.

Maybe you can try this: https://github.com/tgraupmann/UnityWebGLMicrophone

— Reply to this email directly, view it on GitHub https://github.com/adrenak/univoice/issues/9#issuecomment-1491243145, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABZ5ZBQHTESLMFTCQ22OIV3W6ZGVHANCNFSM5SA2SL5A . You are receiving this because you commented.Message ID: @.***>

Akravator91 commented 9 months ago

is there any info on webGL mic. ?