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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • iceServers

      public 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.
    • 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 java.util.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.