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
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1742344183a4426215.html
评论列表(0条)