Class MediaEvent

All Implemented Interfaces:
Event
Direct Known Subclasses:
CodeFoundEvent, ConnectionStateChangedEvent, DataChannelClosedEvent, DataChannelOpenedEvent, DtlsConnectionStateChangeEvent, ElementConnectedEvent, ElementDisconnectedEvent, EndOfStreamEvent, GenericMediaEvent, IceCandidateFoundEvent, IceComponentStateChangedEvent, IceGatheringDoneEvent, MediaFlowInStateChangedEvent, MediaFlowOutStateChangedEvent, MediaSessionStartedEvent, MediaSessionTerminatedEvent, MediaStateChangedEvent, MediaTranscodingStateChangedEvent, NewCandidatePairSelectedEvent, OnKeySoftLimitEvent, PausedEvent, RecordingEvent, StoppedEvent, UriEndpointStateChangedEvent

public class MediaEvent extends RaiseBaseEvent
Base for all events raised by elements in the Kurento media server.
  • Constructor Details

    • MediaEvent

      public MediaEvent(MediaObject source, String timestampMillis, List<Tag> tags, String type)
      Base for all events raised by elements in the Kurento media server.
      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
  • Method Details

    • getType

      public String getType()
      Getter for the type property
      Returns:
      Type of event that was raised *
    • setType

      public void setType(String type)
      Setter for the type property
      Parameters:
      type - Type of event that was raised