Class 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 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 event
        timestampMillis - The timestamp associated with this event: Milliseconds elapsed since the UNIX Epoch (Jan 1, 1970, UTC).
        tags -
        type - Type of event that was raised
        candidatePair - 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