public class MediaTranscodingStateChangedEvent extends MediaEvent
Constructor and Description |
---|
MediaTranscodingStateChangedEvent(MediaObject source,
String timestamp,
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.
|
Modifier and Type | Method and Description |
---|---|
String |
getBinName()
Getter for the binName property
|
MediaType |
getMediaType()
Getter for the mediaType property
|
MediaTranscodingState |
getState()
Getter for the state property
|
void |
setBinName(String binName)
Setter for the binName property
|
void |
setMediaType(MediaType mediaType)
Setter for the mediaType property
|
void |
setState(MediaTranscodingState state)
Setter for the state property
|
getType, setType
getSource, getTags, getTimestamp, getTimestampMillis, setSource, setTags, setTimestamp, setTimestampMillis
public MediaTranscodingStateChangedEvent(MediaObject source, String timestamp, String timestampMillis, List<Tag> tags, String type, MediaTranscodingState state, String binName, MediaType mediaType)
source
- Object that raised the eventtimestamp
- [DEPRECATED: Use timestampMillis] The timestamp associated with this object: Seconds elapsed since the UNIX Epoch (Jan 1, 1970, UTC).timestampMillis
- 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.public MediaTranscodingState getState()
public void setState(MediaTranscodingState state)
state
- Current transcoding state; either enabled or disabled.public String getBinName()
public void setBinName(String binName)
binName
- Name of the GStreamer bin which is processing the media.public MediaType getMediaType()
public void setMediaType(MediaType mediaType)
mediaType
- Type of media that is being processed; either audio or video.Copyright © 2022 Kurento. All rights reserved.