Class IceComponentStateChangedEvent

  • All Implemented Interfaces:
    Event

    public class IceComponentStateChangedEvent
    extends MediaEvent
    Event fired when and ICE component state changes. See :rom:cls:`IceComponentState` for a list of possible states.
    • Constructor Detail

      • IceComponentStateChangedEvent

        public IceComponentStateChangedEvent​(MediaObject source,
                                             String timestampMillis,
                                             List<Tag> tags,
                                             String type,
                                             int streamId,
                                             int componentId,
                                             IceComponentState state)
        Event fired when and ICE component state changes. See :rom:cls:`IceComponentState` for a list of possible states.
        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
        streamId - The ID of the stream
        componentId - The ID of the component
        state - The state of the component
    • Method Detail

      • getStreamId

        public int getStreamId()
        Getter for the streamId property
        Returns:
        The ID of the stream *
      • setStreamId

        public void setStreamId​(int streamId)
        Setter for the streamId property
        Parameters:
        streamId - The ID of the stream
      • getComponentId

        public int getComponentId()
        Getter for the componentId property
        Returns:
        The ID of the component *
      • setComponentId

        public void setComponentId​(int componentId)
        Setter for the componentId property
        Parameters:
        componentId - The ID of the component
      • getState

        public IceComponentState getState()
        Getter for the state property
        Returns:
        The state of the component *
      • setState

        public void setState​(IceComponentState state)
        Setter for the state property
        Parameters:
        state - The state of the component