Discoverer


Object Hierarchy:

Gst.PbUtils.Discoverer Gst.PbUtils.Discoverer Gst.PbUtils.Discoverer GLib.Object GLib.Object GLib.Object->Gst.PbUtils.Discoverer

Description:

[ CCode ( cname = "GstDiscoverer" , lower_case_cprefix = "gst_discoverer_" , type_id = "gst_discoverer_get_type ()" ) ]
[ GIR ( name = "Discoverer" ) ]
public class Discoverer : Object

The Discoverer is a utility object which allows to get as much information as possible from one or many URIs.

It provides two APIs, allowing usage in blocking or non-blocking mode.

The blocking mode just requires calling discover_uri with the URI one wishes to discover.

The non-blocking mode requires a running MainLoop iterating a MainContext, where one connects to the various signals, appends the URIs to be processed (through discover_uri_async) and then asks for the discovery to begin (through start). By default this will use the GLib default main context unless you have set a custom context using push_thread_default.

All the information is returned in a DiscovererInfo structure.


Namespace: Gst.PbUtils

Content:

Properties:

Creation methods:

Methods:

Signals:

Inherited Members:

All known members inherited from class GLib.Object



2022 vala-language.org