Class Message

java.lang.Object
io.github.jwharm.javagi.base.ProxyInstance
org.freedesktop.gstreamer.gst.Message
All Implemented Interfaces:
Proxy

@Generated("io.github.jwharm.JavaGI") public class Message extends ProxyInstance
Messages are implemented as a subclass of GstMiniObject with a generic GstStructure as the content. This allows for writing custom messages without requiring an API change while allowing a wide range of different types of messages.

Messages are posted by objects in the pipeline and are passed to the application using the GstBus.

The basic use pattern of posting a message on a GstBus is as follows:

  gst_bus_post (bus, gst_message_new_eos());
 

A GstElement usually posts messages on the bus provided by the parent container using gst_element_post_message().