You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any or will there be any way to know how many WebHID apps have a device open? Apps are not very good at cooperating. With a microphone device, there is an issue that we have experienced in our product. The mic is opened and "sync'd" to our conferencing application for mute/unmute. The user mutes the device but goes to another app, say a softphone like Skype, and that app unmutes it (unbeknownst to the user this also unmutes our app). User talks on phone: "I'm in the middle of this stupid conference". Bad. Not sure anything can be done to fully solve this type of issue except tell the user to be careful but perhaps there is a way for use to tell whether another app has also opened this device? Thanks for any thoughts.
The text was updated successfully, but these errors were encountered:
I don't expect we will allow sites to know when other sites have access to the same device since that could violate the same-origin policy. In some cases it may be possible to determine this from the device behavior itself, like the microphone mute example you described. However, it probably shouldn't be part of the API.
At the operating system level, applications can avoid this issue by requesting exclusive access to a HID device. WebHID doesn't support an exclusive access mode yet but I think it's likely we'll add it at some point to reduce the potential for interference and improve security when applications are accessing sensitive devices like headsets.
Is there any or will there be any way to know how many WebHID apps have a device open? Apps are not very good at cooperating. With a microphone device, there is an issue that we have experienced in our product. The mic is opened and "sync'd" to our conferencing application for mute/unmute. The user mutes the device but goes to another app, say a softphone like Skype, and that app unmutes it (unbeknownst to the user this also unmutes our app). User talks on phone: "I'm in the middle of this stupid conference". Bad. Not sure anything can be done to fully solve this type of issue except tell the user to be careful but perhaps there is a way for use to tell whether another app has also opened this device? Thanks for any thoughts.
The text was updated successfully, but these errors were encountered: