@UnstableApi
public final class EventStream


A DASH in-MPD EventStream element, as defined by ISO/IEC 23009-1, 2nd edition, section 5.10.

Summary

Public fields

final EventMessage[]

EventMessages in the event stream.

final long[]

Presentation time of the events in microsecond, sorted in ascending order.

final String

The scheme URI.

final long

The timescale in units per seconds, as defined in the manifest.

final String

The value of the event stream.

Public constructors

EventStream(
    String schemeIdUri,
    String value,
    long timescale,
    long[] presentationTimesUs,
    EventMessage[] events
)

Public methods

String
id()

A constructed id of this EventStream.

Public fields

events

public final EventMessage[] events

EventMessages in the event stream.

presentationTimesUs

public final long[] presentationTimesUs

Presentation time of the events in microsecond, sorted in ascending order.

schemeIdUri

public final String schemeIdUri

The scheme URI.

timescale

public final long timescale

The timescale in units per seconds, as defined in the manifest.

value

public final String value

The value of the event stream. Use empty string if not defined in manifest.

Public constructors

EventStream

public EventStream(
    String schemeIdUri,
    String value,
    long timescale,
    long[] presentationTimesUs,
    EventMessage[] events
)

Public methods

id

public String id()

A constructed id of this EventStream. Equal to schemeIdUri + "/" + value.