Clapper.Stream

g Clapper.Stream Clapper.Stream GObject.InitiallyUnowned GObject.InitiallyUnowned Gst.Object Gst.Object GObject.InitiallyUnowned->Gst.Object GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned Gst.Object->Clapper.Stream

Subclasses:

Clapper.AudioStream, Clapper.SubtitleStream, Clapper.VideoStream

Methods

Inherited:

Gst.Object (27), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

get_stream_type ()

get_title ()

Virtual Methods

Inherited:

Gst.Object (1), GObject.Object (7)

do_internal_stream_updated (caps, tags)

Properties

Inherited:

Gst.Object (2)

Name

Type

Flags

Short Description

stream-type

Clapper.StreamType

r/w/co/en

title

str

r/en

Signals

Inherited:

Gst.Object (1), GObject.Object (1)

Fields

Inherited:

Gst.Object (1), GObject.Object (1)

Name

Type

Access

Description

parent_instance

Gst.Object

r

Class Details

class Clapper.Stream(**kwargs)
Bases:

Gst.Object

Abstract:

No

Structure:

Clapper.StreamClass

Represents a stream within media.

get_stream_type()
Returns:

type of stream.

Return type:

Clapper.StreamType

Get the Clapper.StreamType of self.

get_title()
Returns:

title of stream.

Return type:

str or None

Get the title of self, if any.

do_internal_stream_updated(caps, tags) virtual
Parameters:

This function is called when internal Gst.Stream gets updated. Meant for internal usage only. Used for subclasses to update their properties accordingly.

Note that this vfunc is called from different threads.

Property Details

Clapper.Stream.props.stream_type
Name:

stream-type

Type:

Clapper.StreamType

Default Value:

Clapper.StreamType.UNKNOWN

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY, EXPLICIT_NOTIFY

Type of stream.

Clapper.Stream.props.title
Name:

title

Type:

str

Default Value:

None

Flags:

READABLE, EXPLICIT_NOTIFY

Title of stream.