public class MediaFlowInStateChangeEvent extends MediaEvent
| Constructor and Description |
|---|
MediaFlowInStateChangeEvent(MediaObject source,
String timestamp,
String timestampMillis,
List<Tag> tags,
String type,
MediaFlowState state,
String padName,
MediaType mediaType)
Fired when the incoming media flow begins or ends.
|
| Modifier and Type | Method and Description |
|---|---|
MediaType |
getMediaType()
Getter for the mediaType property
|
String |
getPadName()
Getter for the padName property
|
MediaFlowState |
getState()
Getter for the state property
|
void |
setMediaType(MediaType mediaType)
Setter for the mediaType property
|
void |
setPadName(String padName)
Setter for the padName property
|
void |
setState(MediaFlowState state)
Setter for the state property
|
getType, setTypegetSource, getTags, getTimestamp, getTimestampMillis, setSource, setTags, setTimestamp, setTimestampMillispublic MediaFlowInStateChangeEvent(MediaObject source, String timestamp, String timestampMillis, List<Tag> tags, String type, MediaFlowState state, String padName, 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 media statepadName - Name of the pad which has mediamediaType - Type of media that is flowingpublic MediaFlowState getState()
public void setState(MediaFlowState state)
state - Current media statepublic String getPadName()
public void setPadName(String padName)
padName - Name of the pad which has mediapublic MediaType getMediaType()
public void setMediaType(MediaType mediaType)
mediaType - Type of media that is flowingCopyright © 2022 Kurento. All rights reserved.