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
cfaf39c8
authored
May 18, 2022
by
ibaker
Committed by
Ian Baker
May 24, 2022
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Clarify the priority of live config values in the dev guide
PiperOrigin-RevId: 449485592
parent
aef2f154
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
docs/live-streaming.md
docs/live-streaming.md
View file @
cfaf39c8
...
...
@@ -84,11 +84,12 @@ ExoPlayer uses some parameters to control the offset of the playback position
from the live edge, and the range of playback speeds that can be used to
adjust this offset.
By default, ExoPlayer reads values for these parameters directly from the media.
These values can also be provided per
`MediaItem`
, by calling
`MediaItem.Builder.setLiveConfiguration`
, or set globally on the
`DefaultMediaSourceFactory`
provided to the player. In both cases, the provided
values will override parameters defined by the media.
ExoPlayer gets values for these parameters from three places, in descending
order of priority (the first value found is used):
*
Per
`MediaItem`
values passed to
`MediaItem.Builder.setLiveConfiguration`
.
*
Global default values set on
`DefaultMediaSourceFactory`
.
*
Values read directly from the media.
~~~
// Global settings.
...
...
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