Package org.kurento.client
Interface MediaPipeline
-
- All Superinterfaces:
KurentoObject
,MediaObject
public interface MediaPipeline extends MediaObject
A pipeline is a container for a collection ofMediaElements
and :rom:cls:`MediaMixers`. It offers the methods needed to control the creation and connection of elements inside a certain pipeline.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Transaction
beginTransaction()
String
getGstreamerDot()
Returns a string in dot (graphviz) format that represents the gstreamer elements inside the pipelinevoid
getGstreamerDot(Continuation<String> cont)
Asynchronous version of getGstreamerDot:Continuation.onSuccess(F)
is called when the action is done.String
getGstreamerDot(GstreamerDotDetails details)
Returns a string in dot (graphviz) format that represents the gstreamer elements inside the pipelinevoid
getGstreamerDot(GstreamerDotDetails details, Continuation<String> cont)
Asynchronous version of getGstreamerDot:Continuation.onSuccess(F)
is called when the action is done.TFuture<String>
getGstreamerDot(Transaction tx)
Returns a string in dot (graphviz) format that represents the gstreamer elements inside the pipelineTFuture<String>
getGstreamerDot(Transaction tx, GstreamerDotDetails details)
Returns a string in dot (graphviz) format that represents the gstreamer elements inside the pipelineboolean
getLatencyStats()
Get If statistics about pipeline latency are enabled for all mediaElementsvoid
getLatencyStats(Continuation<Boolean> cont)
Get If statistics about pipeline latency are enabled for all mediaElementsTFuture<Boolean>
getLatencyStats(Transaction tx)
Get If statistics about pipeline latency are enabled for all mediaElementsvoid
setLatencyStats(boolean latencyStats)
Set If statistics about pipeline latency are enabled for all mediaElementsvoid
setLatencyStats(boolean latencyStats, Continuation<Void> cont)
Set If statistics about pipeline latency are enabled for all mediaElementsvoid
setLatencyStats(boolean latencyStats, Transaction tx)
Set If statistics about pipeline latency are enabled for all mediaElements-
Methods inherited from interface org.kurento.client.KurentoObject
addEventListener, invoke, isCommited, release, release, release, removeEventListener, waitCommited, whenCommited, whenCommited
-
Methods inherited from interface org.kurento.client.MediaObject
addErrorListener, addErrorListener, addTag, addTag, addTag, getChildren, getChildren, getChildren, getCreationTime, getCreationTime, getCreationTime, getId, getId, getId, getMediaPipeline, getMediaPipeline, getMediaPipeline, getName, getName, getName, getParent, getParent, getParent, getSendTagsInEvents, getSendTagsInEvents, getSendTagsInEvents, getTag, getTag, getTag, getTags, getTags, getTags, removeErrorListener, removeErrorListener, removeTag, removeTag, removeTag, setName, setName, setName, setSendTagsInEvents, setSendTagsInEvents, setSendTagsInEvents
-
-
-
-
Method Detail
-
getLatencyStats
boolean getLatencyStats()
Get If statistics about pipeline latency are enabled for all mediaElements
-
getLatencyStats
void getLatencyStats(Continuation<Boolean> cont)
Get If statistics about pipeline latency are enabled for all mediaElements
-
getLatencyStats
TFuture<Boolean> getLatencyStats(Transaction tx)
Get If statistics about pipeline latency are enabled for all mediaElements
-
setLatencyStats
void setLatencyStats(boolean latencyStats)
Set If statistics about pipeline latency are enabled for all mediaElements
-
setLatencyStats
void setLatencyStats(boolean latencyStats, Continuation<Void> cont)
Set If statistics about pipeline latency are enabled for all mediaElements
-
setLatencyStats
void setLatencyStats(boolean latencyStats, Transaction tx)
Set If statistics about pipeline latency are enabled for all mediaElements
-
getGstreamerDot
String getGstreamerDot(GstreamerDotDetails details)
Returns a string in dot (graphviz) format that represents the gstreamer elements inside the pipeline- Parameters:
details
- Details of graph- Returns:
- The dot graph. *
-
getGstreamerDot
void getGstreamerDot(GstreamerDotDetails details, Continuation<String> cont)
Asynchronous version of getGstreamerDot:Continuation.onSuccess(F)
is called when the action is done. If an error occurs,Continuation.onError(java.lang.Throwable)
is called.- Parameters:
details
- Details of graph- See Also:
getGstreamerDot(org.kurento.client.GstreamerDotDetails)
-
getGstreamerDot
TFuture<String> getGstreamerDot(Transaction tx, GstreamerDotDetails details)
Returns a string in dot (graphviz) format that represents the gstreamer elements inside the pipeline- Parameters:
details
- Details of graph- Returns:
- The dot graph. *
-
getGstreamerDot
String getGstreamerDot()
Returns a string in dot (graphviz) format that represents the gstreamer elements inside the pipeline- Returns:
- The dot graph. *
-
getGstreamerDot
void getGstreamerDot(Continuation<String> cont)
Asynchronous version of getGstreamerDot:Continuation.onSuccess(F)
is called when the action is done. If an error occurs,Continuation.onError(java.lang.Throwable)
is called.
-
getGstreamerDot
TFuture<String> getGstreamerDot(Transaction tx)
Returns a string in dot (graphviz) format that represents the gstreamer elements inside the pipeline- Returns:
- The dot graph. *
-
beginTransaction
Transaction beginTransaction()
-
-