toH264LookAheadRateControl method

H264LookAheadRateControl toH264LookAheadRateControl()

Implementation

H264LookAheadRateControl toH264LookAheadRateControl() {
  switch (this) {
    case 'HIGH':
      return H264LookAheadRateControl.high;
    case 'LOW':
      return H264LookAheadRateControl.low;
    case 'MEDIUM':
      return H264LookAheadRateControl.medium;
  }
  throw Exception('$this is not known in enum H264LookAheadRateControl');
}