QueryType#

class QueryType#

Standard predefined Query types

Methods#

class QueryType
get_flags() QueryTypeFlags#

Gets the QueryTypeFlags associated with type.

get_name() str#

Get a printable name for the given query type. Do not modify or free.

to_quark() int#

Get the unique quark for the given query type.

Fields#

class QueryType
ACCEPT_CAPS#

The accept caps query

ALLOCATION#

The buffer allocation properties

BITRATE#

The bitrate query (since 1.16)

BUFFERING#

Query available media for efficient seeking.

CAPS#

The caps query

CONTEXT#

Query the pipeline-local context from downstream or upstream (since 1.2)

CONVERT#

Convert values between formats

CUSTOM#

A custom application or element defined query.

DRAIN#

Wait till all serialized data is consumed downstream

DURATION#

Total duration of the stream

FORMATS#

Query supported formats for convert

JITTER#

Current jitter of stream

LATENCY#

Latency of stream

POSITION#

Current position in stream

RATE#

Current rate of the stream

SCHEDULING#

The scheduling properties

SEEKING#

Seeking capabilities

SEGMENT#

Segment start/stop positions

SELECTABLE#

Query stream selection capability.

Added in version 1.22.

UNKNOWN#

Unknown query type

URI#

Query the URI of the source or sink.