Package org.kurento.client
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 Summary
Constructors Constructor Description 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getBinName()
Getter for the binName propertyMediaType
getMediaType()
Getter for the mediaType propertyMediaTranscodingState
getState()
Getter for the state propertyvoid
setBinName(String binName)
Setter for the binName propertyvoid
setMediaType(MediaType mediaType)
Setter for the mediaType propertyvoid
setState(MediaTranscodingState state)
Setter for the state property-
Methods inherited from class org.kurento.client.MediaEvent
getType, setType
-
Methods inherited from class org.kurento.client.RaiseBaseEvent
getSource, getTags, getTimestampMillis, setSource, setTags, setTimestampMillis
-
-
-
-
Constructor Detail
-
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 eventtimestampMillis
- The timestamp associated with this event: Milliseconds elapsed since the UNIX Epoch (Jan 1, 1970, UTC).tags
-type
- Type of event that was raisedstate
- 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 Detail
-
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.
-
-