Class EventStream


  • @Deprecated
    public final class EventStream
    extends Object
    Deprecated.
    com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
    A DASH in-MPD EventStream element, as defined by ISO/IEC 23009-1, 2nd edition, section 5.10.
    • Field Detail

      • presentationTimesUs

        public final long[] presentationTimesUs
        Deprecated.
        Presentation time of the events in microsecond, sorted in ascending order.
      • schemeIdUri

        public final String schemeIdUri
        Deprecated.
        The scheme URI.
      • value

        public final String value
        Deprecated.
        The value of the event stream. Use empty string if not defined in manifest.
      • timescale

        public final long timescale
        Deprecated.
        The timescale in units per seconds, as defined in the manifest.
    • Constructor Detail

      • EventStream

        public EventStream​(String schemeIdUri,
                           String value,
                           long timescale,
                           long[] presentationTimesUs,
                           EventMessage[] events)
        Deprecated.
    • Method Detail

      • id

        public String id()
        Deprecated.
        A constructed id of this EventStream. Equal to schemeIdUri + "/" + value.