It's actually more flexible than that. You just need to append the codec type onto the end of audio/wav in the MIME Type setting, for example, "audio/wav;codec=g711alaw" or "audio/wav;codec=g729br8". If you want to do it dynamically then you can also retrieve the currently negotiated codec type (as in the attached doc) and append that dynamically to the MIME Type string.