protected final class

DefaultDashChunkSource.RepresentationSegmentIterator

extends BaseMediaChunkIterator

 java.lang.Object

androidx.media3.exoplayer.source.chunk.BaseMediaChunkIterator

↳androidx.media3.exoplayer.dash.DefaultDashChunkSource.RepresentationSegmentIterator

Overview

MediaChunkIterator wrapping a DefaultDashChunkSource.RepresentationHolder.

Summary

Constructors
publicRepresentationSegmentIterator(DefaultDashChunkSource.RepresentationHolder representation, long firstAvailableSegmentNum, long lastAvailableSegmentNum, long nowPeriodTimeUs)

Creates iterator.

Methods
public longgetChunkEndTimeUs()

public longgetChunkStartTimeUs()

public DataSpecgetDataSpec()

from BaseMediaChunkIteratorcheckInBounds, getCurrentIndex, isEnded, next, reset
from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructors

public RepresentationSegmentIterator(DefaultDashChunkSource.RepresentationHolder representation, long firstAvailableSegmentNum, long lastAvailableSegmentNum, long nowPeriodTimeUs)

Creates iterator.

Parameters:

representation: The DefaultDashChunkSource.RepresentationHolder to wrap.
firstAvailableSegmentNum: The number of the first available segment.
lastAvailableSegmentNum: The number of the last available segment.
nowPeriodTimeUs: The current time in microseconds since the start of the period used for calculating if segments are available at full network speed.

Methods

public DataSpec getDataSpec()

public long getChunkStartTimeUs()

public long getChunkEndTimeUs()