SignalWire.Relay.Calling.CallRecord.AudioParams
This object represents the parameters specific to audio recording.
Constructor
The only constructor is the default constructor, properties should all be assigned by initializer or after construction.
Parameters
None
Examples
Basic Example
CallRecord record = new CallRecord
{
Audio = new CallRecord.AudioParams
{
// Use default audio recording parameters
}
};
Properties
Property | Type | Description |
---|---|---|
Beep | bool? | Whether or not to include a beep at the start of the recording. Default: false |
Format | [SignalWire.Relay.Calling.CallRecord.AudioParams.AudioFormat ]? | The format of the audio recording. Default: mp3 |
Stereo | bool? | Whether to include stereo or only mono tracks in the audio recording. Default: false |
Direction | [SignalWire.Relay.Calling.CallRecord.AudioParams.AudioDirection ]? | The direction to include in the audio recording, speak (what the caller says), listen (what the caller hears), or both. Default: speak |
InitialTimeout | double? | How long to wait in seconds until audio is detected to begin recording. Default: 5 seconds Note: Disable with 0 |
EndSilenceTimeout | double? | How long to wait in seconds after audio is no longer detected to terminate recording. Default: 1 second Note: Disable with 0 |
Terminators | string | A string of individual DTMF characters that can be used to terminate recording. Default: #* |
Methods
None
Events
None