toH264Profile method
Implementation
H264Profile toH264Profile() {
switch (this) {
case 'BASELINE':
return H264Profile.baseline;
case 'HIGH':
return H264Profile.high;
case 'HIGH_10BIT':
return H264Profile.high_10bit;
case 'HIGH_422':
return H264Profile.high_422;
case 'HIGH_422_10BIT':
return H264Profile.high_422_10bit;
case 'MAIN':
return H264Profile.main;
}
throw Exception('$this is not known in enum H264Profile');
}