Search code examples
webrtcgstreamerkurento

what exactly is the use of the gstreamer filter in Kurento Media Server


According to Kurento documentation: http://doc-kurento.readthedocs.io/en/stable/mastering/kurento_API.html

GstreamerFilter is a generic filter interface that allow use GStreamer filter in Kurento Media Pipelines.

I was trying to find Gstreamer filters on google, all I found was Gstreamer plugins. (https://gstreamer.freedesktop.org/documentation/plugin-development/advanced/

Does this mean I can use the Kurento Gstreamer filter, to add plugins such as rtph264depay and rtmpsink with it?

e.g.

WebRTC endpoint > RTP Endpoint > (rtph264depay) Gstreamer filter  (rtmpsink) > RTMP server.

All without installing Gstreamer separately?


Solution

  • GstreamerFilter allows you to configure a filter using a native GStreamer filter (the same way than when you are using gst-launch-1.0). For example, the following Kurento filter allows to rotate horizontally your media within KMS:

    GStreamerFilter filter = new GStreamerFilter.Builder(pipeline, "videoflip method=horizontal-flip").build();
    

    Said that, and regarding your question, for the best of my knowledge, I think so, you can use GstreamerFilter to use rtph264depay and rtmpsink.