Package tvi.webrtc
Class PeerConnection.IceServer
- java.lang.Object
-
- tvi.webrtc.PeerConnection.IceServer
-
- Enclosing class:
- PeerConnection
public static class PeerConnection.IceServer extends java.lang.Object
Java version of PeerConnectionInterface.IceServer.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PeerConnection.IceServer.Builder
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
hostname
java.lang.String
password
java.util.List<java.lang.String>
tlsAlpnProtocols
PeerConnection.TlsCertPolicy
tlsCertPolicy
java.util.List<java.lang.String>
tlsEllipticCurves
java.lang.String
uri
Deprecated.java.util.List<java.lang.String>
urls
java.lang.String
username
-
Constructor Summary
Constructors Constructor Description IceServer(java.lang.String uri)
Deprecated.IceServer(java.lang.String uri, java.lang.String username, java.lang.String password)
Deprecated.IceServer(java.lang.String uri, java.lang.String username, java.lang.String password, PeerConnection.TlsCertPolicy tlsCertPolicy)
Deprecated.IceServer(java.lang.String uri, java.lang.String username, java.lang.String password, PeerConnection.TlsCertPolicy tlsCertPolicy, java.lang.String hostname)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PeerConnection.IceServer.Builder
builder(java.lang.String uri)
static PeerConnection.IceServer.Builder
builder(java.util.List<java.lang.String> urls)
boolean
equals(java.lang.Object obj)
int
hashCode()
java.lang.String
toString()
-
-
-
Field Detail
-
uri
@Deprecated public final java.lang.String uri
Deprecated.
-
urls
public final java.util.List<java.lang.String> urls
-
username
public final java.lang.String username
-
password
public final java.lang.String password
-
tlsCertPolicy
public final PeerConnection.TlsCertPolicy tlsCertPolicy
-
hostname
public final java.lang.String hostname
-
tlsAlpnProtocols
public final java.util.List<java.lang.String> tlsAlpnProtocols
-
tlsEllipticCurves
public final java.util.List<java.lang.String> tlsEllipticCurves
-
-
Constructor Detail
-
IceServer
@Deprecated public IceServer(java.lang.String uri)
Deprecated.Convenience constructor for STUN servers.
-
IceServer
@Deprecated public IceServer(java.lang.String uri, java.lang.String username, java.lang.String password)
Deprecated.
-
IceServer
@Deprecated public IceServer(java.lang.String uri, java.lang.String username, java.lang.String password, PeerConnection.TlsCertPolicy tlsCertPolicy)
Deprecated.
-
IceServer
@Deprecated public IceServer(java.lang.String uri, java.lang.String username, java.lang.String password, PeerConnection.TlsCertPolicy tlsCertPolicy, java.lang.String hostname)
Deprecated.
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(@Nullable java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
builder
public static PeerConnection.IceServer.Builder builder(java.lang.String uri)
-
builder
public static PeerConnection.IceServer.Builder builder(java.util.List<java.lang.String> urls)
-
-