Commit 6cce3dfb by ibaker Committed by Ian Baker

Remove references to `MediaSourceFactory#setStreamKeys` from dev guide

This method has been deprecated since 2.12.0:
https://github.com/google/ExoPlayer/commit/d1bbd3507a818e14be965c300938f9d51f8b7836

PiperOrigin-RevId: 416827149
parent c1f878de
Showing with 1 additions and 3 deletions
......@@ -394,9 +394,7 @@ When building the `MediaItem`, `MediaItem.playbackProperties.streamKeys` must be
set to match those in the `DownloadRequest` so that the player only tries to
play the subset of tracks that have been downloaded. Using
`Download.request.toMediaItem` and `DownloadRequest.toMediaItem` to build the
`MediaItem` will take care of this for you. If building a `MediaSource` to pass
directly to the player, it is similarly important to configure the stream keys
by calling `MediaSourceFactory.setStreamKeys`.
`MediaItem` will take care of this for you.
If you see data being requested from the network when trying to play downloaded
adaptive content, the most likely cause is that the player is trying to adapt to
......
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