supported protocols. Returns null if the handler isn't implemented properly, or the handler doesn't support any protocols.
gst.urihandler_mixin
Module for [URIHandler] interface mixin
Templates 2
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.
Gets the list of protocols supported by handler. This list may not be modified.
Returns
Gets the currently handled URI.
Returns
the handler. Returns null if there are no URI currently handled. The returned string must be freed with [glib.global.gfree] when no longer needed.
Gets the type of the given URI handler
Returns
Returns #GST_URI_UNKNOWN if the handler isn't implemented correctly.
Tries to set the URI of the given handler.
Parameters
uri | URI to set |