CodecFactory cfac = new CodecFactory(); this.codecs = cfac.getAllCodecs(); this.defcodecs = cfac.getDefaultCodecs();
this.codecfactory = codecfactory!=null? codecfactory: new CodecFactory();
this.codecfactory = codecfactory!=null? codecfactory: new CodecFactory();