Module: Gst::URIHandler
- Defined in:
- (unknown)
Overview
The Gst::URIHandler is an interface that is implemented by Source and Sink Gst::Element 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.
Instance Method Summary collapse
-
#protocols ⇒ Array<String>
Gets the list of protocols supported by handler.
-
#uri ⇒ String
Gets the currently handled URI.
-
#uri=(uri) ⇒ Boolean
Tries to set the URI of the given handler.
-
#uri_type ⇒ Gst::URIType
Gets the type of the given URI handler Returns #GST_URI_UNKNOWN if the handler isn't implemented correctly.
Instance Method Details
#protocols ⇒ Array<String>
Gets the list of protocols supported by handler. This list may not be modified.
#uri ⇒ String
Gets the currently handled URI.
#uri=(uri) ⇒ Boolean
Tries to set the URI of the given handler.
#uri_type ⇒ Gst::URIType
Gets the type of the given URI handler Returns #GST_URI_UNKNOWN if the handler isn't implemented correctly.