Message.qos


Description:

[ CCode ( has_construct_function = false ) ]
public Message.qos (Object src, bool live, uint64 running_time, uint64 stream_time, uint64 timestamp, uint64 duration)

A QOS message is posted on the bus whenever an element decides to drop a buffer because of QoS reasons or whenever it changes its processing strategy because of QoS reasons (quality adjustments such as processing at lower accuracy).

This message can be posted by an element that performs synchronisation against the clock (live) or it could be dropped by an element that performs QoS because of QOS events received from a downstream element (!live).

running_time, stream_time, timestamp, duration should be set to the respective running-time, stream-time, timestamp and duration of the (dropped) buffer that generated the QoS event. Values can be left to GST_CLOCK_TIME_NONE when unknown.

Parameters:

src

The object originating the message.

live

if the message was generated by a live element

running_time

the running time of the buffer that generated the message

stream_time

the stream time of the buffer that generated the message

timestamp

the timestamps of the buffer that generated the message

duration

the duration of the buffer that generated the message

Returns:




2022 vala-language.org