- java.lang.Object
-
- dev.onvoid.webrtc.RTCConfiguration
-
public class RTCConfiguration extends Object
The RTCConfiguration defines a set of parameters to configure how the peer-to-peer communication established viaRTCPeerConnectionis established or re-established.- Author:
- Alex Andres
-
-
Field Summary
Fields Modifier and Type Field Description RTCBundlePolicybundlePolicyIndicates which media-bundling policy to use when gathering ICE candidates.List<RTCCertificatePEM>certificatesA list of certificates that the RTCPeerConnection uses to authenticate.List<RTCIceServer>iceServersA list of ICE server's describing servers available to be used by ICE, such as STUN and TURN servers.RTCIceTransportPolicyiceTransportPolicyIndicates which candidates the ICE Agent is allowed to use.RTCRtcpMuxPolicyrtcpMuxPolicyIndicates which rtcp-mux policy to use when gathering ICE candidates.
-
Constructor Summary
Constructors Constructor Description RTCConfiguration()Creates an instance of RTCConfiguration.
-
-
-
Field Detail
-
iceServers
public List<RTCIceServer> iceServers
A list of ICE server's describing servers available to be used by ICE, such as STUN and TURN servers.
-
iceTransportPolicy
public RTCIceTransportPolicy iceTransportPolicy
Indicates which candidates the ICE Agent is allowed to use.
-
bundlePolicy
public RTCBundlePolicy bundlePolicy
Indicates which media-bundling policy to use when gathering ICE candidates.
-
rtcpMuxPolicy
public RTCRtcpMuxPolicy rtcpMuxPolicy
Indicates which rtcp-mux policy to use when gathering ICE candidates.
-
certificates
public List<RTCCertificatePEM> 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.
-
-