SegmentBase.SegmentTimelineElement


public final class SegmentBase.SegmentTimelineElement


Represents a timeline segment from the MPD's SegmentTimeline list.

Summary

Public constructors

SegmentTimelineElement(long startTime, long duration)

Public methods

boolean
int

Public constructors

SegmentTimelineElement

public SegmentTimelineElement(long startTime, long duration)
Parameters
long startTime

The start time of the element. The value in seconds is the division of this value and the timescale of the enclosing element.

long duration

The duration of the element. The value in seconds is the division of this value and the timescale of the enclosing element.

Public methods

equals

public boolean equals(@Nullable Object o)

hashCode

public int hashCode()