toValue method
Implementation
String toValue() {
switch (this) {
case InputType.udpPush:
return 'UDP_PUSH';
case InputType.rtpPush:
return 'RTP_PUSH';
case InputType.rtmpPush:
return 'RTMP_PUSH';
case InputType.rtmpPull:
return 'RTMP_PULL';
case InputType.urlPull:
return 'URL_PULL';
case InputType.mp4File:
return 'MP4_FILE';
case InputType.mediaconnect:
return 'MEDIACONNECT';
case InputType.inputDevice:
return 'INPUT_DEVICE';
case InputType.awsCdi:
return 'AWS_CDI';
}
}