Prosody high level BFILE play/record: API: sm_record_bfile_complete_tstatus

This function is only in Prosody version 2 (TiNG).

Prototype Definition

int sm_record_bfile_complete_tstatus(SM_BFILE_RECORD_PARMS *file_parms, SM_RECORD_STATUS_PARMS *status_parms)

Parameters

file_parms
A pointer to a structure passed into sm_record_bfile_start() to start recording that has not yet indicated that it has finished.
status_parms
A pointer to a structure as passed into sm_record_status.

Description

This is the same as sm_record_bfile_complete() except that on successful completion the status_parms structure will contain the termination status of the recording. The fields in the status_parms structure are only valid when the function returns success.

Returns

0 if call completed successfully, otherwise a standard error such as:


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