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
336f9f3813
commit
79f8270c35
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