Schnittstelle MessageType


public interface MessageType
  • Feldübersicht

    Felder
    Modifizierer und Typ
    Feld
    Beschreibung
    static final int
    mask for all of the above messages.
    static final int
    message posted by the application, possibly
    via an application-specific element.
    static final int
    Posted by elements when they complete an ASYNC
    #GstStateChange.
    static final int
    Posted by elements when they start an ASYNC
    #GstStateChange.
    static final int
    the pipeline is buffering.
    static final int
    The current clock as selected by the pipeline became
    unusable.
    static final int
    an element notifies its capability of providing
    a clock.
    static final int
    Message indicating a #GstDevice was added to
    a #GstDeviceProvider (Since: 1.4)
    static final int
    Message indicating a #GstDevice was changed
    a #GstDeviceProvider (Since: 1.16)
    static final int
    Message indicating a #GstDevice was removed
    from a #GstDeviceProvider (Since: 1.4)
    static final int
    The duration of a pipeline changed.
    static final int
    element-specific message, see the specific element's
    documentation
    static final int
    end-of-stream reached in a pipeline.
    static final int
    an error occurred.
    static final int
    Message is an extended message type (see below).
    static final int
    Message indicating that an element created a context (Since: 1.2)
    static final int
    an info message occurred
    static final int
    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).
    static final int
    Posted by elements when their latency changes.
    static final int
    Message indicating that an element wants a specific context (Since: 1.2)
    static final int
    a new clock was selected in the pipeline.
    static final int
    A progress message.
    static final int
    Message indicating a #GObject property has
    changed (Since: 1.10)
    static final int
    A buffer was dropped or an element changed its processing
    strategy for Quality of Service reasons.
    static final int
    Message indicating to request the application to
    try to play the given URL(s).
    static final int
    Posted by elements when they want the pipeline to
    change state.
    static final int
    Message to request resetting the pipeline's
    running time from the pipeline.
    static final int
    pipeline completed playback of a segment.
    static final int
    pipeline started playback of a segment.
    static final int
    a state change happened
    static final int
    an element changed state in a streaming thread.
    static final int
    a stepping operation finished.
    static final int
    A stepping operation was started.
    static final int
    Message indicating a new #GstStreamCollection
    is available (Since: 1.10)
    static final int
    Message indicating start of a new stream.
    static final int
    status about a stream, emitted when it starts,
    stops, errors, etc..
    static final int
    Message indicating the active selection of
    #GstStreams has changed (Since: 1.10)
    static final int
    the structure of the pipeline changed.
    static final int
    a tag was found.
    static final int
    A new table of contents (TOC) was found or previously found TOC
    was updated.
    static final int
    an undefined message
    static final int
    a warning occurred.
  • Felddetails

    • UNKNOWN

      static final int UNKNOWN
      an undefined message
      Siehe auch:
    • EOS

      static final int EOS
      end-of-stream reached in a pipeline. The application will
      only receive this message in the PLAYING state and every time it sets a
      pipeline to PLAYING that is in the EOS state. The application can perform a
      flushing seek in the pipeline, which will undo the EOS state again.
      Siehe auch:
    • ERROR

      static final int ERROR
      an error occurred. When the application receives an error
      message it should stop playback of the pipeline and not assume that more
      data will be played. It is possible to specify a redirection url to the error
      messages by setting a `redirect-location` field into the error message, application
      or high level bins might use the information as required.
      Siehe auch:
    • WARNING

      static final int WARNING
      a warning occurred.
      Siehe auch:
    • INFO

      static final int INFO
      an info message occurred
      Siehe auch:
    • TAG

      static final int TAG
      a tag was found.
      Siehe auch:
    • BUFFERING

      static final int BUFFERING
      the pipeline is buffering. When the application
      receives a buffering message in the PLAYING state for a non-live pipeline it
      must PAUSE the pipeline until the buffering completes, when the percentage
      field in the message is 100%. For live pipelines, no action must be
      performed and the buffering percentage can be used to inform the user about
      the progress.
      Siehe auch:
    • STATE_CHANGED

      static final int STATE_CHANGED
      a state change happened
      Siehe auch:
    • STATE_DIRTY

      static final int STATE_DIRTY
      an element changed state in a streaming thread.
      This message is deprecated.
      Siehe auch:
    • STEP_DONE

      static final int STEP_DONE
      a stepping operation finished.
      Siehe auch:
    • CLOCK_PROVIDE

      static final int CLOCK_PROVIDE
      an element notifies its capability of providing
      a clock. This message is used internally and
      never forwarded to the application.
      Siehe auch:
    • CLOCK_LOST

      static final int CLOCK_LOST
      The current clock as selected by the pipeline became
      unusable. The pipeline will select a new clock on
      the next PLAYING state change. The application
      should set the pipeline to PAUSED and back to
      PLAYING when this message is received.
      Siehe auch:
    • NEW_CLOCK

      static final int NEW_CLOCK
      a new clock was selected in the pipeline.
      Siehe auch:
    • STRUCTURE_CHANGE

      static final int STRUCTURE_CHANGE
      the structure of the pipeline changed. This
      message is used internally and never forwarded to the application.
      Siehe auch:
    • STREAM_STATUS

      static final int STREAM_STATUS
      status about a stream, emitted when it starts,
      stops, errors, etc..
      Siehe auch:
    • APPLICATION

      static final int APPLICATION
      message posted by the application, possibly
      via an application-specific element.
      Siehe auch:
    • ELEMENT

      static final int ELEMENT
      element-specific message, see the specific element's
      documentation
      Siehe auch:
    • SEGMENT_START

      static final int SEGMENT_START
      pipeline started playback of a segment. This
      message is used internally and never forwarded to the application.
      Siehe auch:
    • SEGMENT_DONE

      static final int SEGMENT_DONE
      pipeline completed playback of a segment. This
      message is forwarded to the application after all elements that posted
      @GST_MESSAGE_SEGMENT_START posted a GST_MESSAGE_SEGMENT_DONE message.
      Siehe auch:
    • DURATION_CHANGED

      static final int DURATION_CHANGED
      The duration of a pipeline changed. The
      application can get the new duration with a duration query.
      Siehe auch:
    • LATENCY

      static final int LATENCY
      Posted by elements when their latency changes. The
      application should recalculate and distribute a new latency.
      Siehe auch:
    • ASYNC_START

      static final int ASYNC_START
      Posted by elements when they start an ASYNC
      #GstStateChange. This message is not forwarded to the application but is used
      internally.
      Siehe auch:
    • ASYNC_DONE

      static final int ASYNC_DONE
      Posted by elements when they complete an ASYNC
      #GstStateChange. The application will only receive this message from the toplevel
      pipeline.
      Siehe auch:
    • REQUEST_STATE

      static final int REQUEST_STATE
      Posted by elements when they want the pipeline to
      change state. This message is a suggestion to the application which can
      decide to perform the state change on (part of) the pipeline.
      Siehe auch:
    • STEP_START

      static final int STEP_START
      A stepping operation was started.
      Siehe auch:
    • QOS

      static final int QOS
      A buffer was dropped or an element changed its processing
      strategy for Quality of Service reasons.
      Siehe auch:
    • PROGRESS

      static final int PROGRESS
      A progress message.
      Siehe auch:
    • TOC

      static final int TOC
      A new table of contents (TOC) was found or previously found TOC
      was updated.
      Siehe auch:
    • RESET_TIME

      static final int RESET_TIME
      Message to request resetting the pipeline's
      running time from the pipeline. This is an internal message which
      applications will likely never receive.
      Siehe auch:
    • STREAM_START

      static final int STREAM_START
      Message indicating start of a new stream. Useful
      e.g. when using playbin in gapless playback mode, to get notified when
      the next title actually starts playing (which will be some time after
      the URI for the next title has been set).
      Siehe auch:
    • NEED_CONTEXT

      static final int NEED_CONTEXT
      Message indicating that an element wants a specific context (Since: 1.2)
      Siehe auch:
    • HAVE_CONTEXT

      static final int HAVE_CONTEXT
      Message indicating that an element created a context (Since: 1.2)
      Siehe auch:
    • EXTENDED

      static final int EXTENDED
      Message is an extended message type (see below).
      These extended message IDs can't be used directly with mask-based API
      like gst_bus_poll() or gst_bus_timed_pop_filtered(), but you can still
      filter for GST_MESSAGE_EXTENDED and then check the result for the
      specific type. (Since: 1.4)
      Siehe auch:
    • DEVICE_ADDED

      static final int DEVICE_ADDED
      Message indicating a #GstDevice was added to
      a #GstDeviceProvider (Since: 1.4)
      Siehe auch:
    • DEVICE_REMOVED

      static final int DEVICE_REMOVED
      Message indicating a #GstDevice was removed
      from a #GstDeviceProvider (Since: 1.4)
      Siehe auch:
    • PROPERTY_NOTIFY

      static final int PROPERTY_NOTIFY
      Message indicating a #GObject property has
      changed (Since: 1.10)
      Siehe auch:
    • STREAM_COLLECTION

      static final int STREAM_COLLECTION
      Message indicating a new #GstStreamCollection
      is available (Since: 1.10)
      Siehe auch:
    • STREAMS_SELECTED

      static final int STREAMS_SELECTED
      Message indicating the active selection of
      #GstStreams has changed (Since: 1.10)
      Siehe auch:
    • REDIRECT

      static final int REDIRECT
      Message indicating to request the application to
      try to play the given URL(s). Useful if for example a HTTP 302/303
      response is received with a non-HTTP URL inside. (Since: 1.10)
      Siehe auch:
    • DEVICE_CHANGED

      static final int DEVICE_CHANGED
      Message indicating a #GstDevice was changed
      a #GstDeviceProvider (Since: 1.16)
      Siehe auch:
    • INSTANT_RATE_REQUEST

      static final int 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). (Since: 1.18)
      Siehe auch:
    • ANY

      static final int ANY
      mask for all of the above messages.
      Siehe auch: