jeeliz/jeelizWeboji

init config : isAudio : wrong default value; custom value not applied

lacastorine opened this issue · 2 comments

In jeelizFaceExpressions.js isAudio is set to true by default:

...,rotate:0,isAudio:!0,disableRendering:!1...

Also it is not reassigned to config value in init(config) function or anywhere else in lib code.

So lib is asking not only for a camera access, but also for a microphone
image

isAudio is set to true by default by choice, because JeelizWeboji may be used for karaoke or avatar video conferencing webapps that require audio access.

It can be reassigned, you just need to set videoSettings: {isAudio: false} in the init options. In the Three.js helper for example it is set to false by default (

). In the raccoon demo the audio access is then not requested.

My fault, thought isAudio should be on the same level as videoSettings, not inside it.
Thanks!