toMpdAudioDuration method
Implementation
MpdAudioDuration toMpdAudioDuration() {
switch (this) {
case 'DEFAULT_CODEC_DURATION':
return MpdAudioDuration.defaultCodecDuration;
case 'MATCH_VIDEO_DURATION':
return MpdAudioDuration.matchVideoDuration;
}
throw Exception('$this is not known in enum MpdAudioDuration');
}