Disable various connections in Code With Me session
Last modified: 26 October 2023
In some cases due to security or other reasons you might need to disable some types of connections inside a Code With Me session.
For this purpose you can use the following parameters:
p2pEnabled
relayEnabled
directConnectionsEnabled
telephonyEnabled
turnRelayEnabled
By default, the parameters are enabled. Setting them to false, will block an attempt to use the corresponding feature.
The locations of the configuration files that you need to create for each parameter depend your operating system. The content of each file is set to false.
note
For Linux and macOS, create a config file. The name of the file must be the same as the name of the feature.
For Windows, you'll need a Registry record.
Check the following examples for the locations based on the OS: