setMaxSelectableVideoQualityForViewportSize
Provides the video viewport size to the player. The player will constrain the automatic quality selection, such that the maximum selectable resolution is close to the viewport size. This might include qualities that have a slightly higher resolution than the viewport. This does not affect the Source.availableVideoQualities nor the Source.setVideoQuality calls i.e. this call has no effect on manual quality selection.
Default behavior: The player automatically limits the maximum selectable video quality based on the physical display size of the device. This means that on a device with a 720p display, the player will not select video qualities above 720p for adaptive bitrate (ABR) decisions, even if higher quality tracks are available and supported by the decoder. To disable this limitation, call this method with Integer.MAX_VALUE for both width and height.
com.bitmovin.player.PlayerView can be configured to automatically set the viewport size based on its size by setting com.bitmovin.player.api.ui.PlayerViewConfig.playerMaxVideoQualityConstraint to com.bitmovin.player.api.ui.PlayerViewConfig.PlayerVideoQualityConstraint.RelaxedViewport.
Both values can be set to Integer.MAX_VALUE for no limitation.
Has no effect if there is no active playback session.