Prosody high level FILE play/record: API: sm_replay_file_progress

Prototype Definition

int sm_replay_file_progress(SM_FILE_REPLAY_PARMS *file_parms)

Parameters

file_parms
A pointer to a structure passed into sm_replay_file_start() to start a replay that has not yet indicated that it has finished.

Description

This is the same as sm_replay_file_progress_istatus() except it first determines the replay status.

If the current replay status for the channel is known, then the sm_replay_file_progress_istatus() variant of the call should be used with initial_status set to this status.


This function is part of the Prosody high level FILE play/record API.