GES.DiscovererManager

g GES.DiscovererManager GES.DiscovererManager GObject.Object GObject.Object GObject.Object->GES.DiscovererManager

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

get_default ()

get_timeout ()

get_use_cache ()

set_timeout (timeout)

set_use_cache (use_cache)

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Name

Type

Flags

Short Description

timeout

int

r/w/c

The timeout for the discoverer

use-cache

bool

r/w/c

Whether to use a serialized version of the discoverer info from our own cache if accessible

Signals

Inherited:

GObject.Object (1)

Name

Short Description

discovered

load-serialized-info

Retrieves information about a URI from and external source of information, like a cache file.

source-setup

Allows to setup the source element before the discoverer runs.

Fields

Inherited:

GObject.Object (1)

Class Details

class GES.DiscovererManager(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

GES.DiscovererManagerClass

New in version 1.24.

classmethod get_default()[source]
Returns:

The default GES.DiscovererManager

Return type:

GES.DiscovererManager

New in version 1.24.

get_timeout()[source]
Returns:

The timeout to use for the discoverer

Return type:

int

New in version 1.24.

get_use_cache()[source]
Returns:

Whether to use the cache or not

Return type:

bool

New in version 1.24.

set_timeout(timeout)[source]
Parameters:

timeout (int) – The timeout to set

Sets the timeout to use for the discoverer

New in version 1.24.

set_use_cache(use_cache)[source]
Parameters:

use_cache (bool) – Whether to use the cache

Sets whether to use the cache or not

New in version 1.24.

Signal Details

GES.DiscovererManager.signals.discovered(discoverer_manager, info, error)
Signal Name:

discovered

Flags:

RUN_LAST

Parameters:

New in version 1.24.

GES.DiscovererManager.signals.load_serialized_info(discoverer_manager, uri)
Signal Name:

load-serialized-info

Flags:

RUN_LAST

Parameters:
  • discoverer_manager (GES.DiscovererManager) – The object which received the signal

  • uri (str) – The URI to load the serialized info for

Returns:

The GstPbutils.DiscovererInfo representing uri, or None if no information

Return type:

GstPbutils.DiscovererInfo or None

Retrieves information about a URI from and external source of information, like a cache file. This is used by the discoverer to speed up the discovery.

New in version 1.24.

GES.DiscovererManager.signals.source_setup(discoverer_manager, source)
Signal Name:

source-setup

Flags:

RUN_LAST

Parameters:

Allows to setup the source element before the discoverer runs.

New in version 1.24.

Property Details

GES.DiscovererManager.props.timeout
Name:

timeout

Type:

int

Default Value:

60000000000

Flags:

READABLE, WRITABLE, CONSTRUCT

The timeout (in milliseconds) for the GstPbutils.Discoverer operations

New in version 1.24.

GES.DiscovererManager.props.use_cache
Name:

use-cache

Type:

bool

Default Value:

False

Flags:

READABLE, WRITABLE, CONSTRUCT

Whether to use a serialized version of the discoverer info from our own cache if accessible