setConfiguration

fun setConfiguration(configuration: RTCConfiguration = definedExternally)(source)

The setConfiguration() method of the RTCPeerConnection interface sets the current configuration of the connection based on the values included in the specified object.

MDN Reference