Module webrtc.java

Class RTCConfiguration

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 via RTCPeerConnection is established or re-established.
Author:
Alex Andres
  • Field Details

    • 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.

  • Constructor Details

    • RTCConfiguration

      public RTCConfiguration()
      Creates an instance of RTCConfiguration.