Class IceCandidateMessage.IceCandidateData

java.lang.Object
dev.onvoid.webrtc.examples.web.model.IceCandidateMessage.IceCandidateData
Enclosing class:
IceCandidateMessage

public static class IceCandidateMessage.IceCandidateData extends Object
Inner class representing the data payload of an ICE candidate message.
  • Constructor Details

    • IceCandidateData

      public IceCandidateData()
      Default constructor required for JSON deserialization.
    • IceCandidateData

      public IceCandidateData(String candidate, String sdpMid, int sdpMLineIndex)
      Creates a new IceCandidateData with the specified candidate information.
      Parameters:
      candidate - the candidate string.
      sdpMid - the SDP mid.
      sdpMLineIndex - the SDP mline index.
  • Method Details

    • getCandidate

      public String getCandidate()
      Gets the candidate string.
      Returns:
      the candidate string.
    • setCandidate

      public void setCandidate(String candidate)
      Sets the candidate string.
      Parameters:
      candidate - the candidate string.
    • getSdpMid

      public String getSdpMid()
      Gets the SDP mid.
      Returns:
      the SDP mid.
    • setSdpMid

      public void setSdpMid(String sdpMid)
      Sets the SDP mid.
      Parameters:
      sdpMid - the SDP mid.
    • getSdpMLineIndex

      public int getSdpMLineIndex()
      Gets the SDP mline index.
      Returns:
      the SDP mline index.
    • setSdpMLineIndex

      public void setSdpMLineIndex(int sdpMLineIndex)
      Sets the SDP mline index.
      Parameters:
      sdpMLineIndex - the SDP mline index.