now handles non-hap codec flipping automatically