setMaxVideoSize

abstract fun setMaxVideoSize(width: Int = Int.MAX_VALUE, height: Int = Int.MAX_VALUE, id: String? = null)(source)

If no parameters are set it'll default to no set size, Specifying the id allows for track overrides to force the player to pick the quality.