]>
git.r.bdr.sh - rbdr/junction/blob - extension/media.js
7 internals
.mediaStream
=
8 internals
.mediaStream
||
9 (await navigator
.mediaDevices
.getUserMedia({
13 return internals
.mediaStream
;
17 if (!internals
.mediaStream
) {
21 for (const track
of internals
.mediaStream
.getAudioTracks()) {
25 internals
.mediaStream
= null;