Plivo supports .mp3 and .wav file formats. We recommend that an .mp3 file should be formatted with the settings: MPEG ADTS, layer III, v1, 128 Kbps, 44.1 kHz, JntStereo. A .wav file should be formatted with the settings: WAVE PCM, 8,000 Hz 16 bit or 11,025 Hz 16 bit PCM.
If your audio file specs don't match these recommendations, Plivo will still process the file, but the quality may not be as clear as you'd like.
Plivo doesn't process or modify an audio file before playing it.
You can play an audio file to a participant by using either the play API or the play XML.
Read more about how to pay audio on calls in our Voice API Reference documentation.