Class RTCIceCandidateAttributes


  • public class RTCIceCandidateAttributes
    extends RTCStats
    • Constructor Detail

      • RTCIceCandidateAttributes

        protected RTCIceCandidateAttributes()
        Default private constructor of RTCIceCandidateAttributes for serialization with Jackson
      • RTCIceCandidateAttributes

        public RTCIceCandidateAttributes​(String id,
                                         StatsType type,
                                         long timestampMillis,
                                         String ipAddress,
                                         long portNumber,
                                         String transport,
                                         RTCStatsIceCandidateType candidateType,
                                         long priority,
                                         String addressSourceUrl)
        Create a RTCIceCandidateAttributes
    • Method Detail

      • getIpAddress

        public String getIpAddress()
        get It is the IP address of the candidate, allowing for IPv4 addresses, IPv6 addresses, and fully qualified domain names (FQDNs).
      • setIpAddress

        public void setIpAddress​(String ipAddress)
        set It is the IP address of the candidate, allowing for IPv4 addresses, IPv6 addresses, and fully qualified domain names (FQDNs).
      • getPortNumber

        public long getPortNumber()
        get It is the port number of the candidate.
      • setPortNumber

        public void setPortNumber​(long portNumber)
        set It is the port number of the candidate.
      • getTransport

        public String getTransport()
        get Valid values for transport is one of udp and tcp. Based on the 'transport' defined in [RFC5245] section 15.1.
      • setTransport

        public void setTransport​(String transport)
        set Valid values for transport is one of udp and tcp. Based on the 'transport' defined in [RFC5245] section 15.1.
      • getCandidateType

        public RTCStatsIceCandidateType getCandidateType()
        get The enumeration RTCStatsIceCandidateType is based on the cand-type defined in [RFC5245] section 15.1.
      • setCandidateType

        public void setCandidateType​(RTCStatsIceCandidateType candidateType)
        set The enumeration RTCStatsIceCandidateType is based on the cand-type defined in [RFC5245] section 15.1.
      • getPriority

        public long getPriority()
        get Represents the priority of the candidate
      • setPriority

        public void setPriority​(long priority)
        set Represents the priority of the candidate
      • getAddressSourceUrl

        public String getAddressSourceUrl()
        get The URL of the TURN or STUN server indicated in the RTCIceServers that translated this IP address.
      • setAddressSourceUrl

        public void setAddressSourceUrl​(String addressSourceUrl)
        set The URL of the TURN or STUN server indicated in the RTCIceServers that translated this IP address.