Calling the below stops the audio of the tab (which is expected according to Google's docs):
```
var stream = await navigator.mediaDevices.getUserMedia({
audio: {
mandatory: {
chromeMediaSource: "tab",
chromeMediaSourceId: id,
},
},
video: false
);
```
```
const output = new AudioContext();
const source = output.createMediaStreamSource(stream);
source.connect(output.destination);
```
I am calling these in the content script after passing a stream id from a popup.
Does anyone have any idea how to get the audio playing again after calling getUserMedia like the docs say is possible?