Prosody Audio Video Format (AVF): API: sm_avfrec_create

This function is deprecated.

Prototype Definition

int sm_avfrec_create(struct sm_avfrec_create_parms *vcp)

Parameters

*vcp
a structure of the following type:
typedef struct sm_avfrec_create_parms {
	tSMAVFrecId avfrec;					/* out */
	tSMModuleId module;					/* in */
} SM_AVFREC_CREATE_PARMS;

Description

Creates a recorder which can record an AVF stream. An AVF recorder is a task which accepts as input one of a number of data formats - including a raw AVF stream and linear audio - and generates as output an AVF stream to the host.

Fields

avfrec (Deprecated)
The created AVF recorder.
module (Deprecated)
A value obtained from sm_open_module() which indicates the module on which the AVF recorder is to be created.

Returns

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


This function is part of the Prosody Audio Video Format (AVF) API.