Class MediaTranscodingStateChangedEvent

java.lang.Object
org.kurento.client.RaiseBaseEvent
org.kurento.client.MediaEvent
org.kurento.client.MediaTranscodingStateChangedEvent
All Implemented Interfaces:
Event

public class MediaTranscodingStateChangedEvent extends MediaEvent
Event fired when an incoming media begins and codec transcoding is either required or not.
  • Constructor Details

    • MediaTranscodingStateChangedEvent

      public MediaTranscodingStateChangedEvent(MediaObject source, String timestampMillis, List<Tag> tags, String type, MediaTranscodingState state, String binName, MediaType mediaType)
      Event fired when an incoming media begins and codec transcoding is either required or not.
      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
      state - Current transcoding state; either enabled or disabled.
      binName - Name of the GStreamer bin which is processing the media.
      mediaType - Type of media that is being processed; either audio or video.
  • Method Details

    • getState

      public MediaTranscodingState getState()
      Getter for the state property
      Returns:
      Current transcoding state; either enabled or disabled. *
    • setState

      public void setState(MediaTranscodingState state)
      Setter for the state property
      Parameters:
      state - Current transcoding state; either enabled or disabled.
    • getBinName

      public String getBinName()
      Getter for the binName property
      Returns:
      Name of the GStreamer bin which is processing the media. *
    • setBinName

      public void setBinName(String binName)
      Setter for the binName property
      Parameters:
      binName - Name of the GStreamer bin which is processing the media.
    • getMediaType

      public MediaType getMediaType()
      Getter for the mediaType property
      Returns:
      Type of media that is being processed; either audio or video. *
    • setMediaType

      public void setMediaType(MediaType mediaType)
      Setter for the mediaType property
      Parameters:
      mediaType - Type of media that is being processed; either audio or video.