A candidate. More...
Public Member Functions | |
| Candidate () | |
| boolean | getDispatched () |
| Gets a value indicating whether this candidate has been already been dispatched as a part of a session description. More... | |
| fm.liveswitch.ProtocolType | getRelayProtocol () |
| Gets the relay protocol, the protocol used by this candidate to communicate with the relay (TURN) server. More... | |
| fm.liveswitch.sdp.ice.CandidateAttribute | getSdpCandidateAttribute () |
| Gets the SDP candidate attribute. More... | |
| int | getSdpMediaIndex () |
| Gets the media index. More... | |
| fm.liveswitch.ProtocolType | getTurnTransportProtocol () |
| Gets the relay protocol, the protocol used by this candidate to communicate with the relay (TURN) server. More... | |
| void | setDispatched (boolean value) |
| Sets a value indicating whether this candidate has been already been dispatched as a part of a session description. More... | |
| void | setRelayProtocol (fm.liveswitch.ProtocolType value) |
| Sets the relay protocol, the protocol used by this candidate to communicate with the relay (TURN) server. More... | |
| void | setSdpCandidateAttribute (fm.liveswitch.sdp.ice.CandidateAttribute value) |
| Sets the SDP candidate attribute. More... | |
| void | setSdpMediaIndex (int value) |
| Sets the media index. More... | |
| void | setTurnTransportProtocol (fm.liveswitch.ProtocolType value) |
| Sets the relay protocol, the protocol used by this candidate to communicate with the relay (TURN) server. More... | |
| String | toJson () |
| Serializes this instance to JSON. More... | |
Static Public Member Functions | |
| static fm.liveswitch.Candidate | fromJson (String candidateJson) |
| Deserializes an instance from JSON. More... | |
| static String | toJson (final fm.liveswitch.Candidate candidate) |
| Serializes an instance to JSON. More... | |
A candidate.
| fm.liveswitch.Candidate.Candidate | ( | ) |
|
static |
Deserializes an instance from JSON.
| candidateJson | The JSON to deserialize. |
| boolean fm.liveswitch.Candidate.getDispatched | ( | ) |
Gets a value indicating whether this candidate has been already been dispatched as a part of a session description.
| fm.liveswitch.ProtocolType fm.liveswitch.Candidate.getRelayProtocol | ( | ) |
Gets the relay protocol, the protocol used by this candidate to communicate with the relay (TURN) server.
| fm.liveswitch.sdp.ice.CandidateAttribute fm.liveswitch.Candidate.getSdpCandidateAttribute | ( | ) |
Gets the SDP candidate attribute.
| int fm.liveswitch.Candidate.getSdpMediaIndex | ( | ) |
Gets the media index.
| fm.liveswitch.ProtocolType fm.liveswitch.Candidate.getTurnTransportProtocol | ( | ) |
Gets the relay protocol, the protocol used by this candidate to communicate with the relay (TURN) server.
| void fm.liveswitch.Candidate.setDispatched | ( | boolean | value | ) |
Sets a value indicating whether this candidate has been already been dispatched as a part of a session description.
| void fm.liveswitch.Candidate.setRelayProtocol | ( | fm.liveswitch.ProtocolType | value | ) |
Sets the relay protocol, the protocol used by this candidate to communicate with the relay (TURN) server.
| void fm.liveswitch.Candidate.setSdpCandidateAttribute | ( | fm.liveswitch.sdp.ice.CandidateAttribute | value | ) |
Sets the SDP candidate attribute.
| void fm.liveswitch.Candidate.setSdpMediaIndex | ( | int | value | ) |
Sets the media index.
| void fm.liveswitch.Candidate.setTurnTransportProtocol | ( | fm.liveswitch.ProtocolType | value | ) |
Sets the relay protocol, the protocol used by this candidate to communicate with the relay (TURN) server.
| String fm.liveswitch.Candidate.toJson | ( | ) |
Serializes this instance to JSON.
|
static |
Serializes an instance to JSON.
| candidate | The candidate to serialize. |