]> git.r.bdr.sh - rbdr/junction/blobdiff - extension/media.js
Ensure connections are closed
[rbdr/junction] / extension / media.js
index 416053aa7e65dda87ad70397f643224dc4378fab..ae60ec905c7f3bda3a311ea3a7766ec63e381a16 100644 (file)
@@ -17,7 +17,7 @@ export async function stopMedia() {
     return;
   }
 
-  for (const track of internals.mediaStream.getAudioTracks()) {
+  for (const track of internals.mediaStream.getTracks()) {
     track.stop();
   }