AudioContext was not allowed to start

759 views
Skip to first unread message

Delal Seletli

unread,
May 24, 2022, 8:29:43 AM5/24/22
to Chromium Extensions
Hello, 
I'm actually trying to migrate my extension which use azure cognitve services sdk to performs some speech action to mv3. To do it, i had to move all the process in a sandbox page since background.js became a service worker. 
But now i'm facing a problem where my sdk is trying to use the audioContext() function but chrome doesn't allow it because what i saw is that a user interaction must be done to init the audioContext(). But here, the button the user click on is in the popup. Do you know how can i resolve my issue ? 

Here is the warning :

The AudioContext was not allowed to start. It must be resumed (or created) after a user gesture on the page. https://goo.gl/7K7WLu
Reply all
Reply to author
Forward
0 new messages