A candidate. More...
Instance Methods | |
(bool) | - dispatched |
Gets a value indicating whether this candidate has been already been dispatched as a part of a session description. More... | |
(instancetype) | - init |
(FMLiveSwitchProtocolType) | - relayProtocol |
Gets the relay protocol, the protocol used by this candidate to communicate with the relay (TURN) server. More... | |
(FMLiveSwitchSdpIceCandidateAttribute *) | - sdpCandidateAttribute |
Gets the SDP candidate attribute. More... | |
(int) | - sdpMediaIndex |
Gets the media index. More... | |
(void) | - setDispatched: |
Sets a value indicating whether this candidate has been already been dispatched as a part of a session description. More... | |
(void) | - setRelayProtocol: |
Sets the relay protocol, the protocol used by this candidate to communicate with the relay (TURN) server. More... | |
(void) | - setSdpCandidateAttribute: |
Sets the SDP candidate attribute. More... | |
(void) | - setSdpMediaIndex: |
Sets the media index. More... | |
(void) | - setTurnTransportProtocol: |
Sets the relay protocol, the protocol used by this candidate to communicate with the relay (TURN) server. More... | |
(NSString *) | - toJson |
Serializes this instance to JSON. More... | |
(FMLiveSwitchProtocolType) | - turnTransportProtocol |
Gets the relay protocol, the protocol used by this candidate to communicate with the relay (TURN) server. More... | |
Class Methods | |
(FMLiveSwitchCandidate *) | + candidate |
(FMLiveSwitchCandidate *) | + fromJsonWithCandidateJson: |
Deserializes an instance from JSON. More... | |
(NSString *) | + toJsonWithCandidate: |
Serializes an instance to JSON. More... | |
A candidate.
+ (FMLiveSwitchCandidate*) candidate |
- (bool) dispatched |
Gets a value indicating whether this candidate has been already been dispatched as a part of a session description.
+ (FMLiveSwitchCandidate*) fromJsonWithCandidateJson: | (NSString *) | candidateJson |
Deserializes an instance from JSON.
candidateJson | The JSON to deserialize. |
- (instancetype) init |
- (FMLiveSwitchProtocolType) relayProtocol |
Gets the relay protocol, the protocol used by this candidate to communicate with the relay (TURN) server.
- (FMLiveSwitchSdpIceCandidateAttribute*) sdpCandidateAttribute |
Gets the SDP candidate attribute.
- (int) sdpMediaIndex |
Gets the media index.
- (void) setDispatched: | (bool) | value |
Sets a value indicating whether this candidate has been already been dispatched as a part of a session description.
- (void) setRelayProtocol: | (FMLiveSwitchProtocolType) | value |
Sets the relay protocol, the protocol used by this candidate to communicate with the relay (TURN) server.
- (void) setSdpCandidateAttribute: | (FMLiveSwitchSdpIceCandidateAttribute *) | value |
Sets the SDP candidate attribute.
- (void) setSdpMediaIndex: | (int) | value |
Sets the media index.
- (void) setTurnTransportProtocol: | (FMLiveSwitchProtocolType) | value |
Sets the relay protocol, the protocol used by this candidate to communicate with the relay (TURN) server.
- (NSString*) toJson |
Serializes this instance to JSON.
+ (NSString*) toJsonWithCandidate: | (FMLiveSwitchCandidate *) | candidate |
Serializes an instance to JSON.
candidate | The candidate to serialize. |
- (FMLiveSwitchProtocolType) turnTransportProtocol |
Gets the relay protocol, the protocol used by this candidate to communicate with the relay (TURN) server.