This function is deprecated.
int sm_avfplay_get_datafeed(struct sm_avfplay_datafeed_parms *datafeedp)
typedef struct sm_avfplay_datafeed_parms { tSMAVFplayId avfplay; /* in */ tSMDatafeedId datafeed; /* out */ } SM_AVFPLAY_DATAFEED_PARMS;
Request a datafeed identifier from a AVF player. This identifer can
subsequently be used in a call to any of the *_datafeed_connect()
functions to connect the output from the AVF player to a destination.
It is valid until the AVF player is destroyed. Note that the type of
data to be output - e.g. AVF AMR-NB audio stream, linear audio stream,
AVF H.263 video stream, etc. - is set by
sm_avfplay_start()
and that it is the application writer's responsibility to ensure that
any task (e.g. VMP[tx]) connected to the AVF player's datafeed is
able to process this data.
Datafeed connections can only be made between objects allocated on the
same tSMModuleId
.
Requires the module datafeed to have been downloaded.
0 if call completed successfully, otherwise a standard error such as:
This function is part of the Prosody Audio Video Format (AVF) API.