mirror of
https://github.com/androidx/media.git
synced 2025-05-04 22:20:47 +08:00
Tweak DefaultTrackSelector documentation
Viewport constraints apply to adaptive content even if the actual playback isn't adaptive (i.e. because the selector ends up making a fixed track selection). ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=203726831
This commit is contained in:
parent
7207665ce0
commit
d49c5a476d
@ -608,20 +608,20 @@ public class DefaultTrackSelector extends MappingTrackSelector {
|
||||
*/
|
||||
public final boolean exceedVideoConstraintsIfNecessary;
|
||||
/**
|
||||
* Viewport width in pixels. Constrains video track selections for adaptive playbacks so that
|
||||
* only tracks suitable for the viewport are selected. The default value is {@link
|
||||
* Integer#MAX_VALUE} (i.e. no constraint).
|
||||
* Viewport width in pixels. Constrains video track selections for adaptive content so that only
|
||||
* tracks suitable for the viewport are selected. The default value is {@link Integer#MAX_VALUE}
|
||||
* (i.e. no constraint).
|
||||
*/
|
||||
public final int viewportWidth;
|
||||
/**
|
||||
* Viewport height in pixels. Constrains video track selections for adaptive playbacks so that
|
||||
* Viewport height in pixels. Constrains video track selections for adaptive content so that
|
||||
* only tracks suitable for the viewport are selected. The default value is {@link
|
||||
* Integer#MAX_VALUE} (i.e. no constraint).
|
||||
*/
|
||||
public final int viewportHeight;
|
||||
/**
|
||||
* Whether the viewport orientation may change during playback. Constrains video track
|
||||
* selections for adaptive playbacks so that only tracks suitable for the viewport are selected.
|
||||
* selections for adaptive content so that only tracks suitable for the viewport are selected.
|
||||
* The default value is {@code true}.
|
||||
*/
|
||||
public final boolean viewportOrientationMayChange;
|
||||
|
Loading…
x
Reference in New Issue
Block a user