Closed mahdi-above closed 2 years ago
Hey @mahdi-above , thanks for reporting. Can you please quickly try our demo app and see if you're getting the same issue? https://twilio.github.io/twilio-video-processors.js/examples/virtualbackground/
OK, I found the issue.
I noticed the server doesn't recognize the type of wasm files so it doesn't return anything type in response header.
I added the following line in my .htaccess and the problem resolved:
<IfModule mod_mime.c>
AddType application/wasm .wasm
</IfModule>
I followed this tutorial:
https://www.twilio.com/blog/change-background-video-calls-twilio-video-processors-library
I included the js file in my index.html using script tag.
I get the following warnings and error:
This is the code I used: