toInputLossActionForRtmpOut method

InputLossActionForRtmpOut toInputLossActionForRtmpOut()

Implementation

InputLossActionForRtmpOut toInputLossActionForRtmpOut() {
  switch (this) {
    case 'EMIT_OUTPUT':
      return InputLossActionForRtmpOut.emitOutput;
    case 'PAUSE_OUTPUT':
      return InputLossActionForRtmpOut.pauseOutput;
  }
  throw Exception('$this is not known in enum InputLossActionForRtmpOut');
}