toDASHFragmentSelectorType method

DASHFragmentSelectorType toDASHFragmentSelectorType()

Implementation

DASHFragmentSelectorType toDASHFragmentSelectorType() {
  switch (this) {
    case 'PRODUCER_TIMESTAMP':
      return DASHFragmentSelectorType.producerTimestamp;
    case 'SERVER_TIMESTAMP':
      return DASHFragmentSelectorType.serverTimestamp;
  }
  throw Exception('$this is not known in enum DASHFragmentSelectorType');
}