Class PeerConnectionConfig
java.lang.Object
com.codename1.webrtc.PeerConnectionConfig
How a
PeerConnection looks for a path to the other side.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddIceServer(IceServer server) Adds a STUN or TURN server.booleansetRelayOnly(boolean relayOnly) Uses only paths through a TURN relay.
-
Constructor Details
-
PeerConnectionConfig
public PeerConnectionConfig()
-
-
Method Details
-
addIceServer
Adds a STUN or TURN server. -
setRelayOnly
Uses only paths through a TURN relay. The other side then never learns this device's own addresses, at the cost of every call going through the relay. Off by default. -
isRelayOnly
public boolean isRelayOnly() -
getIceServers
-