getCodecsOfType static method
Implementation
static String? getCodecsOfType(String? codecs, int trackType) {
final output = Util.splitCodecs(codecs)
.where((codec) => trackType == MimeTypes.getTrackTypeOfCodec(codec))
.join(',');
return output.isEmpty ? null : output;
}