Class IceCandidate


  • public class IceCandidate
    extends Object
    IceCandidate representation based on RTCIceCandidate interface.
    • Constructor Detail

      • IceCandidate

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

        public IceCandidate​(String candidate,
                            String sdpMid,
                            int sdpMLineIndex)
        Create a IceCandidate
    • Method Detail

      • getCandidate

        public String getCandidate()
        get The candidate-attribute as defined in section 15.1 of ICE (rfc5245).
      • setCandidate

        public void setCandidate​(String candidate)
        set The candidate-attribute as defined in section 15.1 of ICE (rfc5245).
      • getSdpMid

        public String getSdpMid()
        get If present, this contains the identifier of the 'media stream identification'.
      • setSdpMid

        public void setSdpMid​(String sdpMid)
        set If present, this contains the identifier of the 'media stream identification'.
      • getSdpMLineIndex

        public int getSdpMLineIndex()
        get The index (starting at zero) of the m-line in the SDP this candidate is associated with.
      • setSdpMLineIndex

        public void setSdpMLineIndex​(int sdpMLineIndex)
        set The index (starting at zero) of the m-line in the SDP this candidate is associated with.