Closed lynchee-owo closed 6 months ago
looks good, but I think we should only ask for permission when user turns on the audio mode within this PR.
It shouldn't require using offscreen API. You can learn from the message set up in domOperations
. When we need to prompt for audio permission, we send a message with chrome.tabs.sendMessage
(see pagePRC) to insert iframe and request permission
todo
demo
https://github.com/normal-computing/web-wand/assets/125778696/c57024c6-fafe-426a-86ab-9787c900d084