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?