Prosody high level FILE play/record: API

The following functions are provided by the Prosody high level FILE play/record API:

API call W Description
sm_replay_file_start()   Start replaying data from a file.
sm_replay_file_progress_istatus()   Proceed with replaying data from a file
sm_replay_file_progress()   Proceed with replaying data from a file
sm_replay_file_complete()   Replay remaining data from a file and clean up afterwards
sm_replay_file_stop()   Abort replaying data from a file.
sm_record_file_start()   Start recording data into a file.
sm_record_file_progress_istatus()   Proceed with recording data to a file
sm_record_file_progress_ostatus()   Proceed with recording data to a file and report ongoing status
sm_record_file_progress()   Proceed with recording data to a file
sm_record_file_complete()   Record remaining data to a file and clean up afterwards
sm_record_file_complete_tstatus() T Record remaining data to a file, report temination status and clean up afterwards
sm_record_file_stop()   Abort the recording of data to a file

Key to W column:

T Functionality added in Prosody version 2 (TiNG)

This document is also available as a single file.