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

本文标签: