GstAnalytics.BatchStream

Fields

Name

Type

Access

Description

index

int

r/w

Index of the stream in the meta’s stream array

n_objects

int

r/w

Number of objects

n_sticky_events

int

r/w

Number of sticky events

objects

[Gst.MiniObject]

r/w

Gst.MiniObject in this batch for this stream. Those are serialized mini objects: buffers, bufferlists and serialized events

padding

[object]

r

sticky_events

[Gst.Event]

r/w

The sticky events store before any of the mini objects in the objects fields are processed

Methods

get_caps ()

get_segment ()

get_stream_id ()

Details

class GstAnalytics.BatchStream

New in version 1.28.

get_caps()
Returns:

The Gst.Caps if there are any

Return type:

Gst.Caps or None

Gets the Gst.Caps from a stream

New in version 1.28.

get_segment()
Returns:

The Gst.Segment if there is one

Return type:

Gst.Segment or None

Gets the Gst.Segment from a stream

New in version 1.28.

get_stream_id()
Returns:

The stream id if there is any

Return type:

str or None

Gets the current stream id from a stream

New in version 1.28.