public final class

ChunkSampleStream.EmbeddedSampleStream

extends java.lang.Object

implements SampleStream

 java.lang.Object

↳androidx.media3.exoplayer.source.chunk.ChunkSampleStream.EmbeddedSampleStream

Overview

A SampleStream embedded in a ChunkSampleStream.

Summary

Fields
public final ChunkSampleStream<ChunkSource>parent

Constructors
publicEmbeddedSampleStream(ChunkSampleStream<ChunkSource> parent, SampleQueue sampleQueue, int index)

Methods
public booleanisReady()

public voidmaybeThrowError()

public intreadData(FormatHolder formatHolder, DecoderInputBuffer buffer, int readFlags)

public voidrelease()

public intskipData(long positionUs)

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Fields

public final ChunkSampleStream<ChunkSource> parent

Constructors

public EmbeddedSampleStream(ChunkSampleStream<ChunkSource> parent, SampleQueue sampleQueue, int index)

Methods

public boolean isReady()

public int skipData(long positionUs)

public void maybeThrowError()

public int readData(FormatHolder formatHolder, DecoderInputBuffer buffer, int readFlags)

public void release()