Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 673 Bytes

File metadata and controls

18 lines (12 loc) · 673 Bytes

Freeclimb::PlayEarlyMedia

Properties

Name Type Description Notes
file String RL of the audio file to be played to the caller. The URL can be the `recordingUrl` generated from the `RecordUtterance` or `StartRecordCall` PerCL commands or any accessible URL. FreeClimb will respect Cache-Control headers for this file. Use these to limit repeated requests for unchanged audio. If no Cache-Control header is provided, the file will be cached for seven days by default.

Example

require 'freeclimb'

instance = Freeclimb::PlayEarlyMedia.new(
  file: null
)