Build error when using voice with WebGL
Options
Trying ot do a build for WebGL of our application and hitting a load of errors with microphone does not exist.
The WebGL app does not need the microphone but I want to try and avoid having to versions of the application (one with and one without the photon packs).
I can go an modify source code to stop these form compiling but ideally don't want to be modifying these. Any ideas if there is something really obvious I'm missing?
The WebGL app does not need the microphone but I want to try and avoid having to versions of the application (one with and one without the photon packs).
I can go an modify source code to stop these form compiling but ideally don't want to be modifying these. Any ideas if there is something really obvious I'm missing?
0
Comments
-
Hi @Reddevildragg,
Thank you for choosing Photon!
As you can see on the documentation page: Photon Voice does not support WebGL.0 -
Hi @JohnTube
was looking that it does not support voice, which is fine cause I don't need it on the WebGL build, but just trying to find the best way to still build (ideally without removing it from the source as the desktop application does require it). However I understand this may not be possiable0 -
Hi @Reddevildragg,
In theory, it should be possible to build for WebGL with Photon Voice imported but we did not test this.
Remove all Voice components from the scene.
Or try disabling from Editor or from code:PhotonVoiceNetwork.AutoConnectAndJoin
Recorder.AutoStart
0