toRtmpCaptionData method
Implementation
RtmpCaptionData toRtmpCaptionData() {
switch (this) {
case 'ALL':
return RtmpCaptionData.all;
case 'FIELD1_608':
return RtmpCaptionData.field1_608;
case 'FIELD1_AND_FIELD2_608':
return RtmpCaptionData.field1AndField2_608;
}
throw Exception('$this is not known in enum RtmpCaptionData');
}