Class IceCandidate

java.lang.Object
com.codename1.webrtc.IceCandidate

public final class IceCandidate extends Object
A network path one side found to itself, to be tried by the other side. A peer connection gathers these as it goes and hands each to PeerConnection.Listener.iceCandidate(PeerConnection, IceCandidate); the app sends it across and the other side passes it to PeerConnection.addIceCandidate(IceCandidate).
  • Constructor Details

    • IceCandidate

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

    • getSdpMid

      public String getSdpMid()
      The media section this candidate belongs to, by its a=mid value.
    • getSdpMLineIndex

      public int getSdpMLineIndex()
      The media section this candidate belongs to, by its position.
    • getCandidate

      public String getCandidate()
      The candidate: line itself.