MergingMediaSource.IllegalMergeException


public final class MergingMediaSource.IllegalMergeException extends IOException


Thrown when a MergingMediaSource cannot merge its sources.

Summary

Nested types

@Documented
@Retention(value = RetentionPolicy.SOURCE)
@Target(value = TYPE_USE)
@IntDef(value = )
public annotation MergingMediaSource.IllegalMergeException.Reason

The reason the merge failed.

Constants

static final int

The sources have different period counts.

Public fields

final int

The reason the merge failed.

Inherited methods

From java.lang.Throwable
synchronized final void
synchronized Throwable
synchronized Throwable
String
String
StackTraceElement[]
synchronized final Throwable[]
synchronized Throwable
void
void
setStackTrace(StackTraceElement[] stackTrace)
String

Constants

REASON_PERIOD_COUNT_MISMATCH

public static final int REASON_PERIOD_COUNT_MISMATCH = 0

The sources have different period counts.

Public fields

reason

@MergingMediaSource.IllegalMergeException.Reason
public final int reason

The reason the merge failed.

Public constructors

IllegalMergeException

public IllegalMergeException(
    @MergingMediaSource.IllegalMergeException.Reason int reason
)
Parameters
@MergingMediaSource.IllegalMergeException.Reason int reason

The reason the merge failed.