Package dev.onvoid.webrtc
Class RTCConfiguration
java.lang.Object
dev.onvoid.webrtc.RTCConfiguration
public class RTCConfiguration
extends java.lang.Object
The RTCConfiguration defines a set of parameters to configure how the
peer-to-peer communication established via
RTCPeerConnection
is
established or re-established.- Author:
- Alex Andres
-
Field Summary
Fields Modifier and Type Field Description RTCBundlePolicy
bundlePolicy
Indicates which media-bundling policy to use when gathering ICE candidates.java.util.List<RTCCertificatePEM>
certificates
A list of certificates that the RTCPeerConnection uses to authenticate.java.util.List<RTCIceServer>
iceServers
A list of ICE server's describing servers available to be used by ICE, such as STUN and TURN servers.RTCIceTransportPolicy
iceTransportPolicy
Indicates which candidates the ICE Agent is allowed to use.RTCRtcpMuxPolicy
rtcpMuxPolicy
Indicates which rtcp-mux policy to use when gathering ICE candidates. -
Constructor Summary
Constructors Constructor Description RTCConfiguration()
Creates an instance of RTCConfiguration. -
Method Summary
-
Field Details
-
iceServers
A list of ICE server's describing servers available to be used by ICE, such as STUN and TURN servers. -
iceTransportPolicy
Indicates which candidates the ICE Agent is allowed to use. -
bundlePolicy
Indicates which media-bundling policy to use when gathering ICE candidates. -
rtcpMuxPolicy
Indicates which rtcp-mux policy to use when gathering ICE candidates. -
certificates
A list of certificates that the RTCPeerConnection uses to authenticate.If this value is absent, then a default set of certificates is generated for each RTCPeerConnection instance.
-
-
Constructor Details
-
RTCConfiguration
public RTCConfiguration()Creates an instance of RTCConfiguration.
-