public class ElementConnectedEvent extends MediaEvent
| Constructor and Description |
|---|
ElementConnectedEvent(MediaObject source,
String timestamp,
List<Tag> tags,
String type,
MediaElement sink,
MediaType mediaType,
String sourceMediaDescription,
String sinkMediaDescription)
Indicates that an element has been connected to other
|
| Modifier and Type | Method and Description |
|---|---|
MediaType |
getMediaType()
Getter for the mediaType property
|
MediaElement |
getSink()
Getter for the sink property
|
String |
getSinkMediaDescription()
Getter for the sinkMediaDescription property
|
String |
getSourceMediaDescription()
Getter for the sourceMediaDescription property
|
void |
setMediaType(MediaType mediaType)
Setter for the mediaType property
|
void |
setSink(MediaElement sink)
Setter for the sink property
|
void |
setSinkMediaDescription(String sinkMediaDescription)
Setter for the sinkMediaDescription property
|
void |
setSourceMediaDescription(String sourceMediaDescription)
Setter for the sourceMediaDescription property
|
getType, setTypegetSource, getTags, getTimestamp, setSource, setTags, setTimestamppublic ElementConnectedEvent(MediaObject source, String timestamp, List<Tag> tags, String type, MediaElement sink, MediaType mediaType, String sourceMediaDescription, String sinkMediaDescription)
source - Object that raised the eventtimestamp - tags - type - Type of event that was raisedsink - sink element in new connectionmediaType - Media type of the connectionsourceMediaDescription - Description of the source mediasinkMediaDescription - Description of the sink mediapublic MediaElement getSink()
public void setSink(MediaElement sink)
sink - sink element in new connectionpublic MediaType getMediaType()
public void setMediaType(MediaType mediaType)
mediaType - Media type of the connectionpublic String getSourceMediaDescription()
public void setSourceMediaDescription(String sourceMediaDescription)
sourceMediaDescription - Description of the source mediapublic String getSinkMediaDescription()
public void setSinkMediaDescription(String sinkMediaDescription)
sinkMediaDescription - Description of the sink mediaCopyright © 2015 Kurento. All rights reserved.