implemented server-side validation for audio.