Hello, I’ve seen this on Jitsi-ice4j github repo. The code goes like this:
class HarvestConfig {
val useLinkLocalAddresses: Boolean by config {
"org.ice4j.ice.harvest.DISABLE_LINK_LOCAL_ADDRESSES".from(configSource)
.transformedBy { !it }
"ice4j.harvest.use-link-local-addresses".from(configSource)
}
}
What is the meaning of "org.ice4j.ice.harvest.DISABLE_LINK_LOCAL_ADDRESSES".from()
I couldn’t find an answer.
The code can be found here: ice4j/HarvestConfig.kt at master · jitsi/ice4j · GitHub
I am not looking for what does the code piece do. I am looking for the meaning of “from”.