getRepresentationsForAdaptation optimization
Created by: Gontran-Molotov
This PR adds a new maxRepresentations
parameter to DashManifestModel.getRepresentationsForAdaptation()
. It allows to specify how many representations to get. Currently, some classes calls getRepresentationsForAdaptation()
to uselessly get info for all representations but only use the first one, like in StreamController.onManifestUpdated()
.