- java.lang.Object
-
- dev.onvoid.webrtc.RTCIceServer
-
public class RTCIceServer extends Object
The RTCIceServer is used to describe the STUN and TURN servers that can be used by the ICE Agent to establish a connection with a peer.- Author:
- Alex Andres
-
-
Field Summary
Fields Modifier and Type Field Description StringhostnameIf the URIs inurlsonly contain IP addresses, this field can be used to indicate the hostname, which may be necessary for TLS (using the SNI extension).StringpasswordThe password to be used when the TURN server requests authorization.List<String>tlsAlpnProtocolsList of protocols to be used in the TLS ALPN extension.TlsCertPolicytlsCertPolicyThe TLS certificate policy.List<String>tlsEllipticCurvesList of elliptic curves to be used in the TLS elliptic curves extension.List<String>urlsList of STUN or TURN URI(s) associated with this server.StringusernameThe username to be used when the TURN server requests authorization.
-
Constructor Summary
Constructors Constructor Description RTCIceServer()Creates an instance of RTCIceServer.
-
-
-
Field Detail
-
urls
public List<String> urls
List of STUN or TURN URI(s) associated with this server. The "host" part of the URI may contain either an IP address or a hostname. Valid formats are described in RFC7064 and RFC7065.
-
username
public String username
The username to be used when the TURN server requests authorization.
-
password
public String password
The password to be used when the TURN server requests authorization.
-
tlsCertPolicy
public TlsCertPolicy tlsCertPolicy
The TLS certificate policy.
-
hostname
public String hostname
-
tlsAlpnProtocols
public List<String> tlsAlpnProtocols
List of protocols to be used in the TLS ALPN extension.
-
-