WebRTC is a browser plugin that facilitates audio and video communication inside a web page by allowing a direct peer-to-peer connection to happen, excluding the need to install additional plugins or other native applications. In order for the plugin to work, WebRTC gives access to your media devices, such as your microphones, cameras, and headphones.
Websites can exploit this mechanism in two possible ways:
1. Device enumeration(Number of custom media devices): This method relies on retrieving the full list of microphones, cameras, and headphones you have installed. Although just this number is not enough to specifically identify you, it can still play a role. In XLogin, you can control the number of different media devices in the browser configuration file as needed.
2. Media device ID(Specify device name): For WebRTC to work properly, a website not only needs to know the amount and type of devices you have but, to establish proper real-time communication, unique device identifiers are also needed. Think of addresses for your devices. Of course, browsers do not allow websites to see the full model name of your hardware devices.
Instead, they provide hashes, called Device IDs. But at the same time, any website can use these values for user identification purposes. Since media device IDs are unique to every user, it can be an exceptionally effective technique in browser fingerprinting. In XLogin, Device IDs are masked for every device you add, when the feature is enabled.
3. You can enable "Number of custom media devices" and "set device name", or let the system set randomly.
For example: Turn on "Number of custom media devices":
A. Not enable "set device Name", just randomize or set the preceding number.
B. Enable "set device name", the device name can be set randomly or manually. The number of content items in the device name needs to correspond to the preceding number. If the preceding number is 1, only one device name needs to be set, and if the preceding number is 2, set 2 items of the device name. And so on.