setMaxVideoSize

open override fun setMaxVideoSize(width: Int, height: Int, id: String?)

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.