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
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
ConstructorDescriptionNewCandidatePairSelectedEvent
(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
Modifier and TypeMethodDescriptionGetter for the candidatePair propertyvoid
setCandidatePair
(IceCandidatePair candidatePair) Setter for the candidatePair propertyMethods inherited from class org.kurento.client.MediaEvent
getType, setType
Methods inherited from class org.kurento.client.RaiseBaseEvent
getSource, getTags, getTimestampMillis, setSource, setTags, setTimestampMillis
-
Constructor Details
-
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 Details
-
getCandidatePair
Getter for the candidatePair property- Returns:
- The new pair of candidates *
-
setCandidatePair
Setter for the candidatePair property- Parameters:
candidatePair
- The new pair of candidates
-