In what format is audio saved by the <record> tag?

Answers to common Plum DEV questions

Moderators: admin, support

  • Author
  • Message
Offline

support

  • Posts: 3627
  • Joined: Mon Jun 02, 2003 3:47 pm
  • Location: Boston, MA

In what format is audio saved by the <record> tag?

PostMon Jun 02, 2003 7:14 pm

Audio is recorded as headerless 8 kHz 8 bit data, encoded as either u-law or a-law, depending on the Plum Voice Platform configuration setting. The default setting, which is used for Plum Voice Hosting, is u-law.

Format conversions:

If you need recorded audio to be accessible in other formats, a variety of conversion tools can be used when the audio data is either saved or retrieved. One open source conversion tool available for both windows and linux is SoX.

POSTing audio data:

Audio data posted using the <submit> tag is postest as MIME type audio/basic. A <submit> which includes audio data always uses method="post" and encoding="multipart/formdata", regardless of the specified attributes.

For more information, see <record> in the Programmer's Reference Guide.

Return to Plum DEV FAQs

Who is online

Users browsing this forum: No registered users and 1 guest