package
4.8.4+incompatible
Repository: https://github.com/mtryfoss/ari.git
Documentation: pkg.go.dev

# Functions

Beep indicates that a beep should be played to signal the start of recording.
Format configures the file format to be used to store the recording.
IfExists configures the behaviour of the recording if the file to be recorded already exists.
MaxDuration sets the maximum duration to allow for the recording.
MaxSilence sets the amount of time a block of silence is allowed to become before the recording should be declared Finished.
Name configures the recording to use the provided name.
Record starts a new recording Session.
TerminateOn configures the DTMF which, if received, will terminate the recording.

# Variables

DefaultMaximumDuration is the default maximum amount of time a recording should be allowed to continue before being terminated.
DefaultMaximumSilence is the default maximum amount of time silence may be detected before terminating the recording.
Logger defaults to a discard handler (null output).
RecordingStartTimeout is the amount of time to wait for a recording to start before declaring the recording to have failed.
ShutdownGracePeriod is the amount of time to allow a Stop transaction to complete before shutting down the session anyway.

# Structs

Options describes a set of recording options for a recording Session.
Result represents the result of a recording Session.

# Interfaces

Session desribes the interface to a generic recording session.

# Type aliases

OptionFunc is a function which applies changes to an Options set.