Package tvi.webrtc

Class IceCandidate

java.lang.Object
tvi.webrtc.IceCandidate

public class IceCandidate extends Object
Representation of a single ICE Candidate, mirroring IceCandidateInterface in the C++ API.
  • Field Details

    • sdpMid

      public final String sdpMid
    • sdpMLineIndex

      public final int sdpMLineIndex
    • sdp

      public final String sdp
    • serverUrl

      public final String serverUrl
    • adapterType

      public final PeerConnection.AdapterType adapterType
  • Constructor Details

    • IceCandidate

      public IceCandidate(String sdpMid, int sdpMLineIndex, String sdp)
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(@Nullable Object object)
      equals() checks sdpMid, sdpMLineIndex, and sdp for equality.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object