Closed heymartinadams closed 2 years ago
I just realized the permissions need to be set as follows:
headers: nextSafe({
...,
permissionsPolicy: {
microphone: 'self'
}
})
Wasn’t clear entirely clear to me from this page: https://trezy.gitbook.io/next-safe/configuration-options/permissionspolicy, but glad I figured it out once I looked it up on Mozilla ☺️
Describe the bug
Despite having explicitly allowed
localhost:3000
access to the microphone inchrome://settings/content/microphone
(see screenshot below), and despite having enabled themicrophone
in next-safe, I was unable to use it.Initially filed a report here https://github.com/alan-ai/alan-sdk-web/issues/55 but then closed it once I realized it had to do with
next-safe
. I was able to use themicrophone
once I disablednext-safe
altogether.Screenshot: microphone specifically allowed for
localhost:3000
Steps To Reproduce
No response
Version
v3.x.x
Relevant log output
Code of Conduct