toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case VideoCodec.av1:
      return 'AV1';
    case VideoCodec.avcIntra:
      return 'AVC_INTRA';
    case VideoCodec.frameCapture:
      return 'FRAME_CAPTURE';
    case VideoCodec.h_264:
      return 'H_264';
    case VideoCodec.h_265:
      return 'H_265';
    case VideoCodec.mpeg2:
      return 'MPEG2';
    case VideoCodec.prores:
      return 'PRORES';
    case VideoCodec.vc3:
      return 'VC3';
    case VideoCodec.vp8:
      return 'VP8';
    case VideoCodec.vp9:
      return 'VP9';
  }
}