targetQualities property
One or more desired qualities of the media track.
Remarks:
- If desired qualities are present, the Adaptive Bitrate mechanism of the player will limit itself to these qualities.
- If one desired quality is present, the Adaptive Bitrate mechanism of the player will be disabled and the desired quality will be played back.
Limitations:
- Not available on iOS
Implementation
@override
AudioQualities? get targetQualities => _targetQualities;
Implementation
@override
@mustCallSuper
set targetQualities(List<AudioQuality>? targetQualities) {
AudioQualities? audioQualities = null;
if (targetQualities != null) {
audioQualities = AudioQualitiesImpl();
audioQualities.addAll(targetQualities);
}
this._targetQualities = audioQualities;
}