Package org.kurento.client
Class ElementConnectionData
java.lang.Object
org.kurento.client.ElementConnectionData
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Default private constructor of ElementConnectionData for serialization with JacksonElementConnectionData
(MediaElement source, MediaElement sink, MediaType type, String sourceDescription, String sinkDescription) Create a ElementConnectionData -
Method Summary
Modifier and TypeMethodDescriptiongetSink()
get The sink element in the connectionget Description of sink media.get The source element in the connectionget Description of source media.getType()
get MediaType of the connectionvoid
setSink
(MediaElement sink) set The sink element in the connectionvoid
setSinkDescription
(String sinkDescription) set Description of sink media.void
setSource
(MediaElement source) set The source element in the connectionvoid
setSourceDescription
(String sourceDescription) set Description of source media.void
set MediaType of the connection
-
Constructor Details
-
ElementConnectionData
protected ElementConnectionData()Default private constructor of ElementConnectionData for serialization with Jackson -
ElementConnectionData
public ElementConnectionData(MediaElement source, MediaElement sink, MediaType type, String sourceDescription, String sinkDescription) Create a ElementConnectionData
-
-
Method Details
-
getSource
get The source element in the connection -
setSource
set The source element in the connection -
getSink
get The sink element in the connection -
setSink
set The sink element in the connection -
getType
get MediaType of the connection -
setType
set MediaType of the connection -
getSourceDescription
get Description of source media. Could be empty. -
setSourceDescription
set Description of source media. Could be empty. -
getSinkDescription
get Description of sink media. Could be empty. -
setSinkDescription
set Description of sink media. Could be empty.
-