Gst.URIHandler¶
| Implementations: | |
|---|---|
| None | |
Methods¶
| get_protocols() | |
| get_uri() | |
| get_uri_type() | |
| set_uri(uri) | 
Virtual Methods¶
| do_get_uri() | |
| do_set_uri(uri) | 
Properties¶
None
Signals¶
None
Fields¶
None
Class Details¶
- 
class Gst.URIHandler¶
- Bases: - GObject.GInterface- Structure: - Gst.URIHandlerInterface- The - Gst.URIHandleris an interface that is implemented by Source and Sink- Gst.Elementto 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. - 
get_protocols()[source]¶
- Returns: - the supported protocols. Returns - Noneif the self isn’t implemented properly, or the self doesn’t support any protocols.- Return type: - [ - str] or- None- Gets the list of protocols supported by self. This list may not be modified. 
 - 
get_uri()[source]¶
- Returns: - the URI currently handled by the self. Returns - Noneif there are no URI currently handled. The returned string must be freed with- GLib.free() when no longer needed.- Return type: - stror- None- Gets the currently handled URI. 
 - 
get_uri_type()[source]¶
- Returns: - the - Gst.URITypeof the URI handler. Returns- Gst.URIType.UNKNOWNif the self isn’t implemented correctly.- Return type: - Gst.URIType- Gets the type of the given URI handler 
 - 
set_uri(uri)[source]¶
- Parameters: - uri ( - str) – URI to set- Raises: - GLib.Error- Returns: - Trueif the URI was set successfully, else- False.- Return type: - bool- Tries to set the URI of the given handler. 
 
-