Prosody high level BFILE play/record: API: sm_replay_bfile_progress

Prototype Definition

int sm_replay_bfile_progress(SM_BFILE_REPLAY_PARMS *file_parms)

Parameters

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

Description

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

If the current replay status for the channel is known, then the sm_replay_bfile_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 BFILE play/record API.