mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Make default retry count public.
This commit is contained in:
parent
69c7cb09c8
commit
7dfebc2e11
1 changed files with 5 additions and 2 deletions
|
|
@ -134,14 +134,17 @@ public class ChunkSampleSource implements SampleSource, Loader.Callback {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The default minimum number of times to retry loading data prior to failing.
|
||||||
|
*/
|
||||||
|
public static final int DEFAULT_MIN_LOADABLE_RETRY_COUNT = 1;
|
||||||
|
|
||||||
private static final int STATE_UNPREPARED = 0;
|
private static final int STATE_UNPREPARED = 0;
|
||||||
private static final int STATE_PREPARED = 1;
|
private static final int STATE_PREPARED = 1;
|
||||||
private static final int STATE_ENABLED = 2;
|
private static final int STATE_ENABLED = 2;
|
||||||
|
|
||||||
private static final int NO_RESET_PENDING = -1;
|
private static final int NO_RESET_PENDING = -1;
|
||||||
|
|
||||||
private static final int DEFAULT_MIN_LOADABLE_RETRY_COUNT = 1;
|
|
||||||
|
|
||||||
private final int eventSourceId;
|
private final int eventSourceId;
|
||||||
private final LoadControl loadControl;
|
private final LoadControl loadControl;
|
||||||
private final ChunkSource chunkSource;
|
private final ChunkSource chunkSource;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue