public class IceComponentStateChangeEvent extends MediaEvent
| Constructor and Description |
|---|
IceComponentStateChangeEvent(MediaObject source,
String timestamp,
String timestampMillis,
List<Tag> tags,
String type,
int streamId,
int componentId,
IceComponentState state)
Event fired when and ICE component state changes.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getComponentId()
Getter for the componentId property
|
IceComponentState |
getState()
Getter for the state property
|
int |
getStreamId()
Getter for the streamId property
|
void |
setComponentId(int componentId)
Setter for the componentId property
|
void |
setState(IceComponentState state)
Setter for the state property
|
void |
setStreamId(int streamId)
Setter for the streamId property
|
getType, setTypegetSource, getTags, getTimestamp, getTimestampMillis, setSource, setTags, setTimestamp, setTimestampMillispublic IceComponentStateChangeEvent(MediaObject source, String timestamp, String timestampMillis, List<Tag> tags, String type, int streamId, int componentId, IceComponentState state)
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 raisedstreamId - The ID of the streamcomponentId - The ID of the componentstate - The state of the componentpublic int getStreamId()
public void setStreamId(int streamId)
streamId - The ID of the streampublic int getComponentId()
public void setComponentId(int componentId)
componentId - The ID of the componentpublic IceComponentState getState()
public void setState(IceComponentState state)
state - The state of the componentCopyright © 2022 Kurento. All rights reserved.