Commit cfaf39c8 by ibaker Committed by Ian Baker

Clarify the priority of live config values in the dev guide

PiperOrigin-RevId: 449485592
parent aef2f154
Showing with 6 additions and 5 deletions
...@@ -84,11 +84,12 @@ ExoPlayer uses some parameters to control the offset of the playback position ...@@ -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 from the live edge, and the range of playback speeds that can be used to
adjust this offset. adjust this offset.
By default, ExoPlayer reads values for these parameters directly from the media. ExoPlayer gets values for these parameters from three places, in descending
These values can also be provided per `MediaItem`, by calling order of priority (the first value found is used):
`MediaItem.Builder.setLiveConfiguration`, or set globally on the
`DefaultMediaSourceFactory` provided to the player. In both cases, the provided * Per `MediaItem` values passed to `MediaItem.Builder.setLiveConfiguration`.
values will override parameters defined by the media. * Global default values set on `DefaultMediaSourceFactory`.
* Values read directly from the media.
~~~ ~~~
// Global settings. // Global settings.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment