getConfiguration method

RTCConfiguration getConfiguration()

The getConfiguration() method of the RTCPeerConnection interface returns an object which indicates the current configuration of the RTCPeerConnection on which the method is called.

The returned configuration is the last configuration applied via RTCPeerConnection.setConfiguration, or if setConfiguration() hasn't been called, the configuration the RTCPeerConnection was constructed with. The configuration includes a list of the ICE servers used by the connection, information about transport policies, and identity information.

Implementation

external RTCConfiguration getConfiguration();