pub type DecoderFactory = fn(&CodecParameters) -> Result<Box<dyn Decoder>, Error>;
Factory that builds a decoder for a given codec parameter set.