Class EventStream


  • public final class EventStream
    extends Object
    A DASH in-MPD EventStream element, as defined by ISO/IEC 23009-1, 2nd edition, section 5.10.
    • Constructor Detail

      • EventStream

        public EventStream​(@NonNull
                           String schemeIdUri,
                           @NonNull
                           String value,
                           long timescale,
                           @NonNull
                           List<Long> presentationTimesUs,
                           @NonNull
                           List<EventMessage> events)
    • Method Detail

      • getPresentationTimesUs

        @NonNull
        public List<Long> getPresentationTimesUs()
        Presentation time of the events in microsecond, sorted in ascending order.
      • getSchemeIdUri

        @NonNull
        public String getSchemeIdUri()
        The scheme URI.
      • getValue

        @NonNull
        public String getValue()
        The value of the event stream. Empty String if not defined in manifest.
      • getTimescale

        public long getTimescale()
        The timescale in units per seconds, as defined in the manifest.
      • id

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