public enum MessageType extends Enum<MessageType> implements NativeEnum<MessageType>
See upstream documentation at https://gstreamer.freedesktop.org/data/doc/gstreamer/stable/gstreamer/html/GstMessage.html#GstMessageType
| Enum Constant and Description |
|---|
ANY
mask for all of the above messages.
|
APPLICATION
Message posted by the application, possibly via an application-specific
element.
|
ASYNC_DONE
Posted by elements when they complete an ASYNC state change.
|
ASYNC_START
Posted by elements when they start an ASYNC state change.
|
BUFFERING
The pipeline is buffering.
|
CLOCK_LOST
The current clock as selected by the pipeline became unusable.
|
CLOCK_PROVIDE
an element notifies its capability of providing a clock.
|
DEVICE_ADDED
Message indicating a #GstDevice was added to a #GstDeviceProvider (Since
1.4)
|
DEVICE_CHANGED
Message indicating a
Device was changed by a
DeviceProvider (Since 1.16) |
DEVICE_REMOVED
Message indicating a #GstDevice was removed from a #GstDeviceProvider
(Since 1.4)
|
DURATION_CHANGED
The duration of a pipeline changed.
|
ELEMENT
Element specific message, see the specific element's documentation
|
EOS
end-of-stream reached in a pipeline.
|
ERROR
An error occurred.
|
EXTENDED
Message is an extended message type (see below).
|
HAVE_CONTEXT
Message indicating that an element created a context (Since 1.2)
|
INFO
An info message occurred.
|
INSTANT_RATE_REQUEST
Message sent by elements to request the running time from the pipeline
when an instant rate change should be applied (which may be in the past
when the answer arrives).
|
LATENCY
Posted by elements when their latency changes.
|
NEED_CONTEXT
Message indicating that an element wants a specific context (Since 1.2)
|
NEW_CLOCK
A new clock was selected in the pipeline.
|
PROGRESS
A progress message.
|
PROPERTY_NOTIFY
Message indicating a
GObject property has changed (Since 1.10) |
QOS
A buffer was dropped or an element changed its processing strategy for
Quality of Service reasons.
|
REDIRECT
Message indicating to request the application to try to play the given
URL(s).
|
REQUEST_STATE
Posted by elements when they want the pipeline to change state.
|
RESET_TIME
Message to request resetting the pipeline's running time from the
pipeline.
|
SEGMENT_DONE
Pipeline completed playback of a segment.
|
SEGMENT_START
Pipeline started playback of a segment.
|
STATE_CHANGED
A state change happened
|
STATE_DIRTY
an element changed state in a streaming thread.
|
STEP_DONE
a framestep finished.
|
STEP_START
A stepping operation was started.
|
STREAM_COLLECTION
Message indicating a new
GstStreamCollection is available (Since
1.10) |
STREAM_START
Message indicating start of a new stream.
|
STREAM_STATUS
Status about a stream, emitted when it starts, stops, errors, etc..
|
STREAMS_SELECTED
Message indicating the active selection of
GstStreams has changed
(Since 1.10) |
STRUCTURE_CHANGE
The structure of the pipeline changed.
|
TAG
A tag was found.
|
TOC
A new table of contents (TOC) was found or previously found TOC was
updated.
|
UNKNOWN
An undefined message
|
WARNING
A warning occurred.
|
| Modifier and Type | Method and Description |
|---|---|
int |
intValue()
Gets the native integer value for this type.
|
static MessageType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MessageType[] |
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 MessageType UNKNOWN
public static final MessageType EOS
public static final MessageType ERROR
public static final MessageType WARNING
public static final MessageType INFO
public static final MessageType TAG
public static final MessageType BUFFERING
public static final MessageType STATE_CHANGED
public static final MessageType STATE_DIRTY
public static final MessageType STEP_DONE
public static final MessageType CLOCK_PROVIDE
public static final MessageType CLOCK_LOST
public static final MessageType NEW_CLOCK
public static final MessageType STRUCTURE_CHANGE
public static final MessageType STREAM_STATUS
public static final MessageType APPLICATION
public static final MessageType ELEMENT
public static final MessageType SEGMENT_START
public static final MessageType SEGMENT_DONE
SEGMENT_START
have posted a SEGMENT_DONE message.public static final MessageType DURATION_CHANGED
public static final MessageType LATENCY
public static final MessageType ASYNC_START
public static final MessageType ASYNC_DONE
public static final MessageType REQUEST_STATE
public static final MessageType STEP_START
public static final MessageType QOS
public static final MessageType PROGRESS
public static final MessageType TOC
public static final MessageType RESET_TIME
public static final MessageType STREAM_START
public static final MessageType NEED_CONTEXT
public static final MessageType HAVE_CONTEXT
public static final MessageType EXTENDED
public static final MessageType DEVICE_ADDED
public static final MessageType DEVICE_REMOVED
@Gst.Since(minor=10) public static final MessageType PROPERTY_NOTIFY
GObject property has changed (Since 1.10)@Gst.Since(minor=10) public static final MessageType STREAM_COLLECTION
GstStreamCollection is available (Since
1.10)@Gst.Since(minor=10) public static final MessageType STREAMS_SELECTED
GstStreams has changed
(Since 1.10)@Gst.Since(minor=10) public static final MessageType REDIRECT
@Gst.Since(minor=16) public static final MessageType DEVICE_CHANGED
Device was changed by a
DeviceProvider (Since 1.16)@Gst.Since(minor=18) public static final MessageType INSTANT_RATE_REQUEST
public static final MessageType ANY
public static MessageType[] values()
for (MessageType c : MessageType.values()) System.out.println(c);
public static MessageType 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<MessageType>Copyright © 2021 gstreamer-java. All rights reserved.