Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
SDK
/
exoplayer
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
3c2afb16
authored
Jun 27, 2019
by
olly
Committed by
Oliver Woodman
Jul 02, 2019
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Cleanup: Remove deprecated ChunkSampleStream constructor
PiperOrigin-RevId: 255377347
parent
8faac034
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
41 deletions
library/core/src/main/java/com/google/android/exoplayer2/source/chunk/ChunkSampleStream.java
library/core/src/main/java/com/google/android/exoplayer2/source/chunk/ChunkSampleStream.java
View file @
3c2afb16
...
...
@@ -26,7 +26,6 @@ import com.google.android.exoplayer2.source.SampleQueue;
import
com.google.android.exoplayer2.source.SampleStream
;
import
com.google.android.exoplayer2.source.SequenceableLoader
;
import
com.google.android.exoplayer2.upstream.Allocator
;
import
com.google.android.exoplayer2.upstream.DefaultLoadErrorHandlingPolicy
;
import
com.google.android.exoplayer2.upstream.LoadErrorHandlingPolicy
;
import
com.google.android.exoplayer2.upstream.Loader
;
import
com.google.android.exoplayer2.upstream.Loader.LoadErrorAction
;
...
...
@@ -95,46 +94,6 @@ public class ChunkSampleStream<T extends ChunkSource> implements SampleStream, S
* @param callback An {@link Callback} for the stream.
* @param allocator An {@link Allocator} from which allocations can be obtained.
* @param positionUs The position from which to start loading media.
* @param minLoadableRetryCount The minimum number of times that the source should retry a load
* before propagating an error.
* @param eventDispatcher A dispatcher to notify of events.
* @deprecated Use {@link #ChunkSampleStream(int, int[], Format[], ChunkSource, Callback,
* Allocator, long, LoadErrorHandlingPolicy, EventDispatcher)} instead.
*/
@Deprecated
public
ChunkSampleStream
(
int
primaryTrackType
,
@Nullable
int
[]
embeddedTrackTypes
,
@Nullable
Format
[]
embeddedTrackFormats
,
T
chunkSource
,
Callback
<
ChunkSampleStream
<
T
>>
callback
,
Allocator
allocator
,
long
positionUs
,
int
minLoadableRetryCount
,
EventDispatcher
eventDispatcher
)
{
this
(
primaryTrackType
,
embeddedTrackTypes
,
embeddedTrackFormats
,
chunkSource
,
callback
,
allocator
,
positionUs
,
new
DefaultLoadErrorHandlingPolicy
(
minLoadableRetryCount
),
eventDispatcher
);
}
/**
* Constructs an instance.
*
* @param primaryTrackType The type of the primary track. One of the {@link C} {@code
* TRACK_TYPE_*} constants.
* @param embeddedTrackTypes The types of any embedded tracks, or null.
* @param embeddedTrackFormats The formats of the embedded tracks, or null.
* @param chunkSource A {@link ChunkSource} from which chunks to load are obtained.
* @param callback An {@link Callback} for the stream.
* @param allocator An {@link Allocator} from which allocations can be obtained.
* @param positionUs The position from which to start loading media.
* @param loadErrorHandlingPolicy The {@link LoadErrorHandlingPolicy}.
* @param eventDispatcher A dispatcher to notify of events.
*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment