Voximplant allows users to record an audio or video call.
To start a call record, use the call.record() method in your scenario. The record is saved in your Voximplant cloud or in your custom S3-compatible storage.
If you need to record video as well as audio, set the video parameter of the call.record() method to true.
Refer to the code example below to understand how it works:
Optionally, you can use the Recorder module to record a call. However, the Recorder module supports only audio recording.
You can pass one or several parameters to the call.record() method or to the Recorder module in order to customize your records.
Here are the most common parameters to customize:
expire: specifies how long to store the record in the cloud. Can be set to 3 or 6 months, 1, 2, or 3 years
contentDispositionFilename: specifies the record filename in the cloud
hd_audio: if true, the record is 192kbps/48KHz. The default value is 32kbps/8KHz
lossless: if true, saves the record in the flac format
stereo: specifies whether the record is stereo or mono
You can find the complete recorder parameters here.
AWS S3-compatible storage
By default, all records are saved in the Voximplant cloud storage. You can use your own AWS S3-compatible storage to store your records. To do so, follow the S3-compatible storage integration guide.
Frequently asked questions
Q: I recorded a call. How do I retrieve the record?
A: Subscribe to the RecordStarted event and copy the e.url property to get the link to your record.