Package org.kurento.client
Class NewCandidatePairSelectedEvent
- java.lang.Object
-
- org.kurento.client.RaiseBaseEvent
-
- org.kurento.client.MediaEvent
-
- org.kurento.client.NewCandidatePairSelectedEvent
-
- All Implemented Interfaces:
Event
public class NewCandidatePairSelectedEvent extends MediaEvent
Event fired when a new pair of ICE candidates is used by the ICE library. This could also happen in the middle of a session, though not likely.
-
-
Constructor Summary
Constructors Constructor Description NewCandidatePairSelectedEvent(MediaObject source, String timestampMillis, List<Tag> tags, String type, IceCandidatePair candidatePair)
Event fired when a new pair of ICE candidates is used by the ICE library.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IceCandidatePair
getCandidatePair()
Getter for the candidatePair propertyvoid
setCandidatePair(IceCandidatePair candidatePair)
Setter for the candidatePair property-
Methods inherited from class org.kurento.client.MediaEvent
getType, setType
-
Methods inherited from class org.kurento.client.RaiseBaseEvent
getSource, getTags, getTimestampMillis, setSource, setTags, setTimestampMillis
-
-
-
-
Constructor Detail
-
NewCandidatePairSelectedEvent
public NewCandidatePairSelectedEvent(MediaObject source, String timestampMillis, List<Tag> tags, String type, IceCandidatePair candidatePair)
Event fired when a new pair of ICE candidates is used by the ICE library. This could also happen in the middle of a session, though not likely.- Parameters:
source
- Object that raised the eventtimestampMillis
- The timestamp associated with this event: Milliseconds elapsed since the UNIX Epoch (Jan 1, 1970, UTC).tags
-type
- Type of event that was raisedcandidatePair
- The new pair of candidates
-
-
Method Detail
-
getCandidatePair
public IceCandidatePair getCandidatePair()
Getter for the candidatePair property- Returns:
- The new pair of candidates *
-
setCandidatePair
public void setCandidatePair(IceCandidatePair candidatePair)
Setter for the candidatePair property- Parameters:
candidatePair
- The new pair of candidates
-
-