Prefer video-only streams to video streams
Prefering video-only streams to video streams for our player will allow us to make seamless transitions on 360 and 720p qualities on YouTube. External players and the downloader are not affected by this change.
This commit is contained in:
parent
2aeb8bab1e
commit
7786a18517
8 changed files with 84 additions and 51 deletions
|
|
@ -633,7 +633,7 @@ public class RouterActivity extends AppCompatActivity {
|
|||
.subscribe(result -> {
|
||||
final List<VideoStream> sortedVideoStreams = ListHelper
|
||||
.getSortedStreamVideosList(this, result.getVideoStreams(),
|
||||
result.getVideoOnlyStreams(), false);
|
||||
result.getVideoOnlyStreams(), false, false);
|
||||
final int selectedVideoStreamIndex = ListHelper
|
||||
.getDefaultResolutionIndex(this, sortedVideoStreams);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue