• Kairos
    cake
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    21
    ·
    4 months ago

    Let me guess, itll still let websites see a list connected microphones and cameras with zero user interaction?

    • Blackmist@feddit.uk
      link
      fedilink
      English
      arrow-up
      2
      ·
      4 months ago

      Trying

      navigator.mediaDevices.enumerateDevices()
      .then(function(devices) {
        devices.forEach(function(device) {
          console.log(device.kind + ": " + device.label +
                  " id = " + device.deviceId);
        });
      })
      

      it appears to have no label and the ids are randomly generated per site.

      • Kairos
        cake
        link
        fedilink
        English
        arrow-up
        1
        arrow-down
        1
        ·
        4 months ago

        So it still ahows the number of devices then?