public class ElementConnectionData extends Object
Modifier | Constructor and Description |
---|---|
protected |
ElementConnectionData()
Default private constructor of ElementConnectionData for serialization with Jackson
|
|
ElementConnectionData(MediaElement source,
MediaElement sink,
MediaType type,
String sourceDescription,
String sinkDescription)
Create a ElementConnectionData
|
Modifier and Type | Method and Description |
---|---|
MediaElement |
getSink()
get The sink element in the connection
|
String |
getSinkDescription()
get Description of sink media.
|
MediaElement |
getSource()
get The source element in the connection
|
String |
getSourceDescription()
get Description of source media.
|
MediaType |
getType()
get MediaType of the connection
|
void |
setSink(MediaElement sink)
set The sink element in the connection
|
void |
setSinkDescription(String sinkDescription)
set Description of sink media.
|
void |
setSource(MediaElement source)
set The source element in the connection
|
void |
setSourceDescription(String sourceDescription)
set Description of source media.
|
void |
setType(MediaType type)
set MediaType of the connection
|
protected ElementConnectionData()
public ElementConnectionData(MediaElement source, MediaElement sink, MediaType type, String sourceDescription, String sinkDescription)
public MediaElement getSource()
public void setSource(MediaElement source)
public MediaElement getSink()
public void setSink(MediaElement sink)
public MediaType getType()
public void setType(MediaType type)
public String getSourceDescription()
public void setSourceDescription(String sourceDescription)
public String getSinkDescription()
public void setSinkDescription(String sinkDescription)
Copyright © 2022 Kurento. All rights reserved.