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

@bradisbell I appreciate discussing multi-device use cases. The points you raise (combined with localization) are why the heuristics of sanitation will likely be hard to standardize beyond general guidelines. E.g. "Main" and "Monitor" seem innocuous.

>  If I have labeled an input, "Brad's Isbell's Microphone"

What if the OS did this by default? Would that change expectations of exposure? Not everyone visits the dialogs you screenshot. Many may be unaware of the label entirely.

>  However, it is clear that users expect web-based applications to identify their media devices in the same way that other applications do, which is in-conflict with sanitizing device labels.

True. Competing concerns.

The level of sanitation being done today seems low, but this may change over time. Over time, moving to ["user-chooses"](https://w3c.github.io/mediacapture-extensions/#new%20getusermedia%20semantics) and in-browser decice pickers should help ameliorate this. E.g. Firefox does not sanitize in its built-in microphone picker, but does in the in-content one.

An adjacent use case is having two identical cameras labeled e.g. "Logitech c920", and you've positioned them to point at specific things for a specific purpose, e.g. streaming. Relying on users labeling these in the OS ahead of time seems inferior to previewing in the app and even allowing users to change the label within the app, e.g. "Me" and "My cat", or "Player 1" and "Player 2".

So long-term I see multi-device apps allowing users to pick from in-browser pickers, seeing default/custom labels as well as preview, and being able to update labels of their chosen devices in-app as needed.

Short-term I see browsers navigating this as best they can weighing the tradeoffs, maybe even on a case by case basis.

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


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

Received on Sunday, 22 November 2020 15:40:32 UTC