Schnittstelle BufferFlags


public interface BufferFlags
  • Feldübersicht

    Felder
    Modifizierer und Typ
    Feld
    Beschreibung
    static final int
    the buffer data is corrupted.
    static final int
    the buffer contains data that should be dropped
    because it will be clipped against the segment
    boundaries or because it does not contain data
    that should be shown to the user.
    static final int
    this unit cannot be decoded independently.
    static final int
    the buffer marks a data discontinuity in the stream.
    static final int
    the buffer can be dropped without breaking the
    stream, for example to reduce bandwidth.
    static final int
    the buffer has been created to fill a gap in the
    stream and contains media neutral data (elements can
    switch to optimized code path that ignores the buffer
    content).
    static final int
    the buffer contains header information that is
    needed to decode the following data.
    static final int
    additional media specific flags can be added starting from
    this flag.
    static final int
    the buffer is live data and should be discarded in
    the PAUSED state.
    static final int
    the buffer contains a media specific marker. for
    video this is the end of a frame boundary, for audio
    this is the start of a talkspurt. for RTP
    packets this matches the marker flag in the
    RTP packet header.
    static final int
    This buffer is important and should not be dropped.
    static final int
    the buffer timestamps might have a discontinuity
    and this buffer is a good point to resynchronize.
    static final int
    Elements which write to disk or permanent storage should ensure the data
    is synced after writing the contents of this buffer.
    static final int
    this flag is set when memory of the buffer
    is added/removed
  • Felddetails

    • LIVE

      static final int LIVE
      the buffer is live data and should be discarded in
      the PAUSED state.
      Siehe auch:
    • DECODE_ONLY

      static final int DECODE_ONLY
      the buffer contains data that should be dropped
      because it will be clipped against the segment
      boundaries or because it does not contain data
      that should be shown to the user.
      Siehe auch:
    • DISCONT

      static final int DISCONT
      the buffer marks a data discontinuity in the stream.
      This typically occurs after a seek or a dropped buffer
      from a live or network source.
      Siehe auch:
    • RESYNC

      static final int RESYNC
      the buffer timestamps might have a discontinuity
      and this buffer is a good point to resynchronize.
      Siehe auch:
    • CORRUPTED

      static final int CORRUPTED
      the buffer data is corrupted.
      Siehe auch:
    • MARKER

      static final int MARKER
      the buffer contains a media specific marker. for
      video this is the end of a frame boundary, for audio
      this is the start of a talkspurt. for RTP
      packets this matches the marker flag in the
      RTP packet header.
      Siehe auch:
    • GAP

      static final int GAP
      the buffer has been created to fill a gap in the
      stream and contains media neutral data (elements can
      switch to optimized code path that ignores the buffer
      content).
      Siehe auch:
    • DROPPABLE

      static final int DROPPABLE
      the buffer can be dropped without breaking the
      stream, for example to reduce bandwidth.
      Siehe auch:
    • DELTA_UNIT

      static final int DELTA_UNIT
      this unit cannot be decoded independently.
      Siehe auch:
    • TAG_MEMORY

      static final int TAG_MEMORY
      this flag is set when memory of the buffer
      is added/removed
      Siehe auch:
    • SYNC_AFTER

      static final int SYNC_AFTER
      Elements which write to disk or permanent storage should ensure the data
      is synced after writing the contents of this buffer.
      Siehe auch:
    • NON_DROPPABLE

      static final int NON_DROPPABLE
      This buffer is important and should not be dropped.

      This can be used to mark important buffers, e.g. to flag RTP packets
      carrying keyframes or codec setup data for RTP Forward Error Correction
      purposes, or to prevent still video frames from being dropped by elements
      due to QoS.
      Siehe auch:
    • LAST

      static final int LAST
      additional media specific flags can be added starting from
      this flag.
      Siehe auch: