You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
calls to any/all of the MediaItem.Builder methods that are marked "not OK", result in:
downloadRequest.streamKeys.isEmpty() == true
trackSelectionParameters are ignored
every stream in an adaptive manifest will download
by avoiding calls that are "not OK" to MediaItem.Builder..
downloadRequest.streamKeys.isEmpty() == false
trackSelectionParameters are not ignored
only the enabled (or "default") tracks are downloaded
however, this matter is farther complicated..
when both..
trackSelectionParameters are configured by the user, and obtained from player.getTrackSelectionParameters() for the media that is currently playing
the media that is currently playing is a MergingMediaSource, and includes at least one external subtitles file (ex: .srt)
trackSelectionParameters obtained in this way are ignored..
only the "default" tracks are downloaded
Is there a way to sanitize the instance of TrackSelectionParameters..
obtained from player.getTrackSelectionParameters() when both of the above conditions are true..
that would allow the correct (ie: manually selected) video stream(s) to download?
MediaItem.Builder
methods that are marked "not OK", result in:downloadRequest.streamKeys.isEmpty() == true
trackSelectionParameters
are ignoredMediaItem.Builder
..downloadRequest.streamKeys.isEmpty() == false
trackSelectionParameters
are not ignoredtrackSelectionParameters
are configured by the user,and obtained from
player.getTrackSelectionParameters()
for the media that is currently playingMergingMediaSource
,and includes at least one external subtitles file (ex: .srt)
trackSelectionParameters
obtained in this way are ignored..Is there a way to sanitize the instance of
TrackSelectionParameters
..obtained from
player.getTrackSelectionParameters()
when both of the above conditions are true..that would allow the correct (ie: manually selected) video stream(s) to download?
For example:
The text was updated successfully, but these errors were encountered: