Interface MediaPipeline

All Superinterfaces:
KurentoObject, MediaObject

public interface MediaPipeline extends MediaObject
A pipeline is a container for a collection of MediaElements. It offers the methods needed to control the creation and connection of elements inside a certain pipeline.
  • Method Details

    • 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

      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.
      See Also:
    • 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()