QueryType

class QueryType

Standard predefined Query types

Methods

class QueryType
get_flags(type: QueryType) QueryTypeFlags

Gets the QueryTypeFlags associated with type.

Parameters:

type – a QueryType

get_name(type: QueryType) str

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

Parameters:

type – the query type

to_quark(type: QueryType) int

Get the unique quark for the given query type.

Parameters:

type – the 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.