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
a953e721
authored
Sep 01, 2015
by
Oliver Woodman
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Fix naming/documentation for SmoothStreaming.
parent
a704b3d3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
library/src/main/java/com/google/android/exoplayer/smoothstreaming/SmoothStreamingChunkSource.java
library/src/main/java/com/google/android/exoplayer/smoothstreaming/SmoothStreamingTrackSelector.java
library/src/main/java/com/google/android/exoplayer/smoothstreaming/SmoothStreamingChunkSource.java
View file @
a953e721
...
...
@@ -94,7 +94,7 @@ public class SmoothStreamingChunkSource implements ChunkSource,
* completed an initial load.
* @param trackSelector Selects tracks from the manifest to be exposed by this source.
* @param dataSource A {@link DataSource} suitable for loading the media data.
* @param
formatEvaluator S
elects from the available formats.
* @param
adaptiveFormatEvaluator For adaptive tracks, s
elects from the available formats.
* @param liveEdgeLatencyMs For live streams, the number of milliseconds that the playback should
* lag behind the "live edge" (i.e. the end of the most recently defined media in the
* manifest). Choosing a small value will minimize latency introduced by the player, however
...
...
@@ -103,9 +103,9 @@ public class SmoothStreamingChunkSource implements ChunkSource,
*/
public
SmoothStreamingChunkSource
(
ManifestFetcher
<
SmoothStreamingManifest
>
manifestFetcher
,
SmoothStreamingTrackSelector
trackSelector
,
DataSource
dataSource
,
FormatEvaluator
f
ormatEvaluator
,
long
liveEdgeLatencyMs
)
{
this
(
manifestFetcher
,
manifestFetcher
.
getManifest
(),
trackSelector
,
dataSource
,
formatEvaluator
,
liveEdgeLatencyMs
);
FormatEvaluator
adaptiveF
ormatEvaluator
,
long
liveEdgeLatencyMs
)
{
this
(
manifestFetcher
,
manifestFetcher
.
getManifest
(),
trackSelector
,
dataSource
,
adaptiveFormatEvaluator
,
liveEdgeLatencyMs
);
}
/**
...
...
@@ -114,12 +114,12 @@ public class SmoothStreamingChunkSource implements ChunkSource,
* @param manifest The manifest parsed from {@code baseUrl + "/Manifest"}.
* @param trackSelector Selects tracks from the manifest to be exposed by this source.
* @param dataSource A {@link DataSource} suitable for loading the media data.
* @param
formatEvaluator S
elects from the available formats.
* @param
adaptiveFormatEvaluator For adaptive tracks, s
elects from the available formats.
*/
public
SmoothStreamingChunkSource
(
SmoothStreamingManifest
manifest
,
SmoothStreamingTrackSelector
trackSelector
,
DataSource
dataSource
,
FormatEvaluator
f
ormatEvaluator
)
{
this
(
null
,
manifest
,
trackSelector
,
dataSource
,
f
ormatEvaluator
,
0
);
FormatEvaluator
adaptiveF
ormatEvaluator
)
{
this
(
null
,
manifest
,
trackSelector
,
dataSource
,
adaptiveF
ormatEvaluator
,
0
);
}
private
SmoothStreamingChunkSource
(
ManifestFetcher
<
SmoothStreamingManifest
>
manifestFetcher
,
...
...
library/src/main/java/com/google/android/exoplayer/smoothstreaming/SmoothStreamingTrackSelector.java
View file @
a953e721
...
...
@@ -40,7 +40,7 @@ public interface SmoothStreamingTrackSelector {
* Outputs a fixed track corresponding to the specified track in the specified element.
*
* @param manifest The manifest being processed.
* @param element The index of the element within which the
adaptive tracks are
located.
* @param element The index of the element within which the
track is
located.
* @param track The index of the track within the element.
*/
void
fixedTrack
(
SmoothStreamingManifest
manifest
,
int
element
,
int
track
);
...
...
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