firefox

blank device labels

Response from navigator.mediaDevices.enumerateDevices in firefox sometimes shows blank labels, even when permission has been granted.

via MediaDeviceInfo.label docs:

Only available during active MediaStream use, or when persistent permissions have been granted.

If streams are stopped, labels will be blank, even if permission was temporarily granted.

See working example (in firefox) here.