public enum EventType extends Enum<EventType> implements NativeEnum<EventType>
See upstream documentation at https://gstreamer.freedesktop.org/data/doc/gstreamer/stable/gstreamer/html/GstEvent.html#GstEventType
The custom event types can be used for private messages between elements that can't be expressed using normal GStreamer buffer passing semantics.
Custom events carry an arbitrary Structure. Specific custom events
are distinguished by the name of the structure.
| Enum Constant and Description |
|---|
BUFFERSIZE
Notification of buffering requirements.
|
CAPS
#GstCaps event.
|
CUSTOM_BOTH
Custom upstream or downstream event.
|
CUSTOM_BOTH_OOB
Custom upstream or downstream out-of-band event.
|
CUSTOM_DOWNSTREAM
Downstream custom event that travels in the data flow.
|
CUSTOM_DOWNSTREAM_OOB
Custom out-of-band downstream event.
|
CUSTOM_DOWNSTREAM_STICKY
Custom sticky downstream event.
|
CUSTOM_UPSTREAM
Upstream custom event
|
EOS
End-Of-Stream.
|
FLUSH_START
Start a flush operation.
|
FLUSH_STOP
Stop a flush operation.
|
GAP
Marks a gap in the datastream.
|
LATENCY
Notification of new latency adjustment.
|
NAVIGATION
Navigation events are usually used for communicating user requests, such
as mouse or keyboard movements, to upstream elements.
|
PROTECTION
An event which indicates that new or updated encryption information has
been found in the stream.
|
QOS
A quality message.
|
RECONFIGURE
A request for upstream renegotiating caps and reconfiguring.
|
SEEK
A request for a new playback position and rate.
|
SEGMENT
A new media segment follows in the dataflow.
|
SEGMENT_DONE
Marks the end of a segment playback.
|
SELECT_STREAMS
A request to select one or more streams (Since 1.10)
|
SINK_MESSAGE
An event that sinks turn into a message.
|
STEP
A request for stepping through the media.
|
STREAM_COLLECTION
A new #GstStreamCollection is available (Since 1.10)
|
STREAM_GROUP_DONE
Indicates that there is no more data for the stream group ID in the
message.
|
STREAM_START
Event to mark the start of a new stream.
|
TAG
A new set of metadata tags has been found in the stream.
|
TOC
An event which indicates that a new table of contents (TOC) was found or
updated.
|
TOC_SELECT
A request for a new playback position based on TOC entry's UID.
|
UNKNOWN
Unknown event
|
| Modifier and Type | Method and Description |
|---|---|
int |
intValue() |
static EventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOffromInt, fromIntpublic static final EventType UNKNOWN
public static final EventType FLUSH_START
public static final EventType FLUSH_STOP
public static final EventType STREAM_START
public static final EventType CAPS
public static final EventType SEGMENT
@Gst.Since(minor=10) public static final EventType STREAM_COLLECTION
public static final EventType TAG
public static final EventType BUFFERSIZE
public static final EventType SINK_MESSAGE
@Gst.Since(minor=10) public static final EventType STREAM_GROUP_DONE
public static final EventType EOS
public static final EventType TOC
public static final EventType PROTECTION
public static final EventType SEGMENT_DONE
public static final EventType GAP
public static final EventType QOS
public static final EventType SEEK
public static final EventType NAVIGATION
public static final EventType LATENCY
public static final EventType STEP
public static final EventType RECONFIGURE
public static final EventType TOC_SELECT
@Gst.Since(minor=10) public static final EventType SELECT_STREAMS
public static final EventType CUSTOM_UPSTREAM
public static final EventType CUSTOM_DOWNSTREAM
public static final EventType CUSTOM_DOWNSTREAM_OOB
public static final EventType CUSTOM_DOWNSTREAM_STICKY
public static final EventType CUSTOM_BOTH
public static final EventType CUSTOM_BOTH_OOB
public static EventType[] values()
for (EventType c : EventType.values()) System.out.println(c);
public static EventType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int intValue()
intValue in interface NativeEnum<EventType>Copyright © 2021 gstreamer-java. All rights reserved.