URIHandlerIF

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_make_from_uri()).

Source and Sink plugins should implement this interface when possible.

Members

Functions

getProtocols
string[] getProtocols()

Gets the list of protocols supported by @handler. This list may not be modified.

getStruct
void* getStruct()

the main Gtk struct as a void*

getURIHandlerStruct
GstURIHandler* getURIHandlerStruct(bool transferOwnership)

Get the main Gtk struct

getUri
string getUri()

Gets the currently handled URI.

getUriType
GstURIType getUriType()

Gets the type of the given URI handler

setUri
bool setUri(string uri)

Tries to set the URI of the given handler.

Meta