Interface GStreamerFilter

  • All Superinterfaces:
    Filter, KurentoObject, MediaElement, MediaObject

    public interface GStreamerFilter
    extends Filter
    A generic filter that allows injecting a single GStreamer element.

    The current implementation of GStreamerFilter only allows single elements to be injected; one cannot indicate more than one at the same time; use several GStreamerFilters if you need to inject more than one element into the pipeline.

    Note that usage of some popular GStreamer elements requires installation of additional packages. For example, overlay elements such as timeoverlay or textoverlay require installation of the gstreamer1.0-x package, which will also install the Pango rendering library.

    • Method Detail

      • getCommand

        String getCommand()
        Get String used to instantiate the GStreamer element, as in gst-launch (https://gstreamer.freedesktop.org/documentation/tools/gst-launch.html).
      • getCommand

        void getCommand​(Continuation<String> cont)
        Get String used to instantiate the GStreamer element, as in gst-launch (https://gstreamer.freedesktop.org/documentation/tools/gst-launch.html).
      • getCommand

        TFuture<String> getCommand​(Transaction tx)
        Get String used to instantiate the GStreamer element, as in gst-launch (https://gstreamer.freedesktop.org/documentation/tools/gst-launch.html).
      • setElementProperty

        void setElementProperty​(String propertyName,
                                String propertyValue)
        Provide a value to one of the GStreamer element's properties.
        Parameters:
        propertyName - Name of the property that needs to be modified in the GStreamer element.
        propertyValue - Value that must be assigned to the property.
      • setElementProperty

        void setElementProperty​(Transaction tx,
                                String propertyName,
                                String propertyValue)
        Provide a value to one of the GStreamer element's properties.
        Parameters:
        propertyName - Name of the property that needs to be modified in the GStreamer element.
        propertyValue - Value that must be assigned to the property.