public static final class MergingMediaSource.IllegalMergeException extends IOException
MergingMediaSource
cannot merge its sources.Modifier and Type | Class and Description |
---|---|
static interface |
MergingMediaSource.IllegalMergeException.Reason
The reason the merge failed.
|
Modifier and Type | Field and Description |
---|---|
int |
reason
The reason the merge failed.
|
static int |
REASON_PERIOD_COUNT_MISMATCH
The sources have different period counts.
|
Constructor and Description |
---|
IllegalMergeException(int reason) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public static final int REASON_PERIOD_COUNT_MISMATCH
@MergingMediaSource.IllegalMergeException.Reason public final int reason
public IllegalMergeException(@MergingMediaSource.IllegalMergeException.Reason int reason)
reason
- The reason the merge failed.