gst.urihandler

Module for URIHandler interface

Types 2

interfaceURIHandler

The #GstURIHandler is an interface that is implemented by Source and Sink #GstElement to unify handling of URI.

An application can use the following functions to quickly get an element that handles the given URI for reading or writing (gst.element.Element.makeFromUri).

Source and Sink plugins should implement this interface when possible.

Methods
string[] getProtocols()Gets the list of protocols supported by handler. This list may not be modified. Returns: the supported protocols. Returns null if the handler isn't implemented properly, or the handler doesn't sup...
string getUri()Gets the currently handled URI. Returns: the URI currently handled by the handler. Returns null if there are no URI currently handled. The returned string must be freed with [glib.global.gfree] wh...
gst.types.URIType getUriType()Gets the type of the given URI handler Returns: the #GstURIType of the URI handler. Returns #GST_URI_UNKNOWN if the handler isn't implemented correctly.
bool setUri(string uri)Tries to set the URI of the given handler.

Fluent builder implementation template for gst.urihandler.URIHandler