cleanup rpoducers api; add codec constants