setCodecPreferences