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
Event fired when an incoming media begins and codec transcoding is either required or not.
-
Constructor Summary
ConstructorDescriptionMediaTranscodingStateChangedEvent
(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
Modifier and TypeMethodDescriptionGetter for the binName propertyGetter for the mediaType propertygetState()
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 propertyMethods inherited from class org.kurento.client.MediaEvent
getType, setType
Methods inherited from class org.kurento.client.RaiseBaseEvent
getSource, getTags, getTimestampMillis, setSource, setTags, setTimestampMillis
-
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 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 Details
-
getState
Getter for the state property- Returns:
- Current transcoding state; either enabled or disabled. *
-
setState
Setter for the state property- Parameters:
state
- Current transcoding state; either enabled or disabled.
-
getBinName
Getter for the binName property- Returns:
- Name of the GStreamer bin which is processing the media. *
-
setBinName
Setter for the binName property- Parameters:
binName
- Name of the GStreamer bin which is processing the media.
-
getMediaType
Getter for the mediaType property- Returns:
- Type of media that is being processed; either audio or video. *
-
setMediaType
Setter for the mediaType property- Parameters:
mediaType
- Type of media that is being processed; either audio or video.
-