preferredQuality property

VideoQuality preferredQuality

Get the preferred quality.

Implementation

VideoQuality get preferredQuality {
  int index = getPreference<int>(
      key: 'preferred_quality', defaultValue: VideoQuality.medium480.index);
  return VideoQuality.values[index];
}