ylliX - Online Advertising Network
Vertex AI - Antrophic and Mistral models: Why does it require Imegen access?

I am trying to access user microphone from offscreen – Chrome Extension Manifest V3


I was managed to get access to video stream & system audio using

await navigator.mediaDevices.getDisplayMedia({audio: true, video: true});

But I need also access to microphone. I tried to use

navigator.mediaDevices.getUserMedia({video: false, audio: true})` 

inside offscreen.

But i am getting Error: Not supported error

Possible solve (not wanted)

I could just open page using chrome.tabs.create or inject iframe but it doesn’t fill my needs, if user closes it I don’t have audio stream, I can open again, but I think it should be possible in offscreen. What i am missing?



Source link

Leave a Reply

Your email address will not be published. Required fields are marked *