Module webrtc.java.examples
Class IceCandidateMessage.IceCandidateData
java.lang.Object
dev.onvoid.webrtc.examples.web.model.IceCandidateMessage.IceCandidateData
- Enclosing class:
- IceCandidateMessage
Inner class representing the data payload of an ICE candidate message.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor required for JSON deserialization.IceCandidateData(String candidate, String sdpMid, int sdpMLineIndex) Creates a new IceCandidateData with the specified candidate information. -
Method Summary
Modifier and TypeMethodDescriptionGets the candidate string.Gets the SDP mid.intGets the SDP mline index.voidsetCandidate(String candidate) Sets the candidate string.voidSets the SDP mid.voidsetSdpMLineIndex(int sdpMLineIndex) Sets the SDP mline index.
-
Constructor Details
-
IceCandidateData
public IceCandidateData()Default constructor required for JSON deserialization. -
IceCandidateData
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
Gets the candidate string.- Returns:
- the candidate string.
-
setCandidate
Sets the candidate string.- Parameters:
candidate- the candidate string.
-
getSdpMid
Gets the SDP mid.- Returns:
- the SDP mid.
-
setSdpMid
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.
-