
Hey guys,tldr - how to mute/unmute microphone from a script using SparkAR?I've been trying to create some basic filter where something happens in an interval (using javascript)Everything works, except that I'm unable to mute/unmute microphone and that would be the main point of this filter. So I want this filter microphone to be muted, and after few seconds i want microphone to be unmuted and user can speak freely. I've set up an interval which works (everything else fades/shows) but I don't know how to access reference to microphone and disable/mute/enable/unmute it. Thanks in advance!
No comments:
Post a Comment