check compression_type to assign audio codec