There is a example of using a thread to handle mic in resources, I think
Thank you @joelgomes1994 btw*