• @Blackmist@feddit.uk
    link
    fedilink
    English
    220 days 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
      link
      English
      020 days ago

      So it still ahows the number of devices then?