GStreamer-like interface