Package org.webrtc
Class CandidatePairChangeEvent
java.lang.Object
org.webrtc.CandidatePairChangeEvent
Representation of a change in selected ICE candidate pair.
CandidatePairChangeEvent in the C++ API.-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal intAn estimate from the ICE stack on how long it was disconnected before changing to the new candidate pair in this event.final intfinal IceCandidatefinal Stringfinal IceCandidate -
Constructor Summary
ConstructorsConstructorDescriptionCandidatePairChangeEvent(IceCandidate local, IceCandidate remote, int lastDataReceivedMs, String reason, int estimatedDisconnectedTimeMs) -
Method Summary
-
Field Details
-
local
-
remote
-
lastDataReceivedMs
public final int lastDataReceivedMs -
reason
-
estimatedDisconnectedTimeMs
public final int estimatedDisconnectedTimeMsAn estimate from the ICE stack on how long it was disconnected before changing to the new candidate pair in this event. The first time an candidate pair is signaled the value will be 0.
-
-
Constructor Details
-
CandidatePairChangeEvent
CandidatePairChangeEvent(IceCandidate local, IceCandidate remote, int lastDataReceivedMs, String reason, int estimatedDisconnectedTimeMs)
-