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 merge failed because the sources have different period counts.
|
static int |
REASON_WINDOWS_ARE_DYNAMIC
The merge failed because one of the sources being merged has a dynamic window.
|
Constructor and Description |
---|
IllegalMergeException(int reason) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public static final int REASON_WINDOWS_ARE_DYNAMIC
public static final int REASON_PERIOD_COUNT_MISMATCH
public final int reason
REASON_WINDOWS_ARE_DYNAMIC
and
REASON_PERIOD_COUNT_MISMATCH
.public IllegalMergeException(int reason)
reason
- The reason the merge failed. One of REASON_WINDOWS_ARE_DYNAMIC
and
REASON_PERIOD_COUNT_MISMATCH
.