Prosody Audio Video Format (AVF): API

The following functions are provided by the Prosody Audio Video Format (AVF) API:

API call W Description
sm_avfplay_create() P Create AVF player
sm_avfplay_destroy() P Destroy a previously allocated AVF player
sm_avfplay_get_datafeed() P Obtain a datafeed from a AVF player
sm_avfplay_get_event() P Obtain an event for a AVF player
sm_avfplay_put_data() P Write data to a AVF player
sm_avfplay_start() P Starts a previously allocated AVF player
sm_avfplay_status() P Determine AVF player status
sm_avfplay_stop() P Stops a previously started AVF player.
sm_avfplay_sync() P Synchronise with another AVF player
sm_avfrec_create() P the AVF player Create AVF recorder
sm_avfrec_datafeed_connect() P Connect a AVF recorder to a datafeed
sm_avfrec_destroy() P Destroy a previously allocated AVF recorder
sm_avfrec_get_data() P Read data from a AVF recorder
sm_avfrec_get_event() P Obtain an event for a AVF recorder
sm_avfrec_start() P Starts a previously allocated AVF recorder
sm_avfrec_status() P Determine AVF recorder status
sm_avfrec_stop() P Aborts a previously allocated AVF recorder if it is active.
sm_avfrec_sync() P Synchronise with another AVF recorder

Key to W column:

P Preliminary documentation - this functionality is under development. It could be changed or withdrawn, and may not be implemented in this release

This document is also available as a single file.