Package tvi.webrtc

Class IceCandidateErrorEvent


  • public final class IceCandidateErrorEvent
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.String address
      The local IP address used to communicate with the STUN or TURN server.
      int errorCode
      The numeric STUN error code returned by the STUN or TURN server.
      java.lang.String errorText
      The STUN reason text returned by the STUN or TURN server.
      int port
      The port used to communicate with the STUN or TURN server.
      java.lang.String url
      The STUN or TURN URL that identifies the STUN or TURN server for which the failure occurred.
    • Constructor Summary

      Constructors 
      Constructor Description
      IceCandidateErrorEvent​(java.lang.String address, int port, java.lang.String url, int errorCode, java.lang.String errorText)  
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • address

        public final java.lang.String address
        The local IP address used to communicate with the STUN or TURN server.
      • port

        public final int port
        The port used to communicate with the STUN or TURN server.
      • url

        public final java.lang.String url
        The STUN or TURN URL that identifies the STUN or TURN server for which the failure occurred.
      • errorCode

        public final int errorCode
        The numeric STUN error code returned by the STUN or TURN server. If no host candidate can reach the server, errorCode will be set to the value 701 which is outside the STUN error code range. This error is only fired once per server URL while in the RTCIceGatheringState of "gathering".
      • errorText

        public final java.lang.String errorText
        The STUN reason text returned by the STUN or TURN server. If the server could not be reached, errorText will be set to an implementation-specific value providing details about the error.
    • Constructor Detail

      • IceCandidateErrorEvent

        public IceCandidateErrorEvent​(java.lang.String address,
                                      int port,
                                      java.lang.String url,
                                      int errorCode,
                                      java.lang.String errorText)