java.lang.Object
dev.onvoid.webrtc.RTCIceServer
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
FieldsModifier and TypeFieldDescriptionIf the URIs inurls
only contain IP addresses, this field can be used to indicate the hostname, which may be necessary for TLS (using the SNI extension).The password to be used when the TURN server requests authorization.List of protocols to be used in the TLS ALPN extension.The TLS certificate policy.List of elliptic curves to be used in the TLS elliptic curves extension.List of STUN or TURN URI(s) associated with this server.The username to be used when the TURN server requests authorization. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
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
The username to be used when the TURN server requests authorization. -
password
The password to be used when the TURN server requests authorization. -
tlsCertPolicy
The TLS certificate policy. -
hostname
-
tlsAlpnProtocols
List of protocols to be used in the TLS ALPN extension. -
tlsEllipticCurves
List of elliptic curves to be used in the TLS elliptic curves extension. Only curve names supported by OpenSSL should be used (eg. "P-256","X25519").
-
-
Constructor Details
-
RTCIceServer
public RTCIceServer()Creates an instance of RTCIceServer.
-
-
Method Details