setup_events


Description:


public void setup_events (Pad srcpad, Element element, Caps? caps, Format format)

Push stream-start, caps and segment event, which consist of the minimum required events to allow streaming.

Caps is optional to allow raw src testing. If element has more than one src or sink pad, use setup_events_with_stream_id instead.

Parameters:

srcpad

The src Pad to push on

element

The Element use to create the stream id

caps

Caps in case caps event must be sent

format

The Format of the default segment to send


Namespace: Gst.Check



2022 vala-language.org