rework codec integration