admin管理员组文章数量:1333632
I am working on a sample app available here
The problem I am running into is when the page loads it asks for microphone permissions (see for a similar situation). This seems a little bit intrusive so I would like to get audio permissions without the microphone for now. Is there a way to toggle that?
I am sure it is in my face but I can't figure out how to just get playback permissions.
Update
I was asked for more detail so the audio is read here
const mediaSource = new MediaSource();
audio.src = URL.createObjectURL(mediaSource);
mediaSource.addEventListener('sourceopen', async () => {
As you can see from a code perspective it is using a typical MediaSource
本文标签:
版权声明:本文标题:google chrome - Can I playback audio without needing to ask for microphone permissions in browser? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742344182a2457191.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论