public class Event extends MiniObject
See upstream documentation at https://gstreamer.freedesktop.org/data/doc/gstreamer/stable/gstreamer/html/GstEvent.html
Events are passed between elements in parallel to the data stream. Some events are serialized with buffers, others are not. Some events only travel downstream, others only upstream. Some events can travel both upstream and downstream.
The events are used to signal special conditions in the datastream such as EOS (end of stream) or the start of a new stream-segment.
Events are also used to flush the pipeline of any pending data.
Pad#pushEvent,
Pad#sendEvent,
Element#sendEvent| Modifier and Type | Class and Description |
|---|---|
static class |
Event.Types |
MiniObject.HandleNativeObject.Initializer, NativeObject.TypeProvider, NativeObject.TypeRegistration<T extends NativeObject>| Modifier and Type | Field and Description |
|---|---|
static String |
GTYPE_NAME |
| Modifier and Type | Method and Description |
|---|---|
Structure |
getStructure()
Gets the structure containing the data in this event.
|
copy, getRefCount, isWritable, makeWritableclose, disown, dispose, equals, getPointer, getRawPointer, hashCode, invalidate, toStringpublic static final String GTYPE_NAME
public Structure getStructure()
Copyright © 2021 gstreamer-java. All rights reserved.