Re: [mediacapture-main] Provide guidance on potential device label sanitization (#747)

I see that there is mention in the text now that device labels can be sanitized, but that doesn't quite address the request here, which is to give guidance on what a practical and useful stanatization strategy would be. That seems like something that'd greatly benefit from the expertise of this group, and which would be very relevant to an implementor.

@dontcallmedom suggested I give a proposal, so here is a straw suggestion:
```
1. remove serial numbers or device identifiers that are specific to the specific device (as opposed the model of the device)
2. When there is only one device with the same "{manufacturer} - {device type}" present, omit the model name (if present) from the device, and present only "{manufacturer} - {device type}".  If there are multiple devices with the same "{manufacturer} - {device type}", extend to "{manufacturer} - {device type} - {model}"
```

Again i mean the above to only be a starting suggestion, and not a concrete proposal. You could maybe generalize the above by saying, for each device, prefer "{device type}", then "{device type} - {manufacturer}", then "{device type} - {manufacturer} - {model}", then "{device type} - {manufacturer} - {model} - {serial #}", in that order, to prevent any device collisions.

-- 
GitHub Notification of comment by pes10k
Please view or discuss this issue at https://github.com/w3c/mediacapture-main/issues/747#issuecomment-977029538 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 23 November 2021 19:05:51 UTC